CHISQ.TEST function - The function returns the independence test in Excel
The following article introduces you to the CHISQ.TEST function - one of the functions in the statistical group is very popular in Excel.
Description: The function returns the independence test. The function returns the value from the distribution (({chi ^ 2})) when squared for statistics and the appropriate degrees of freedom. Support function from Excel 2010 version.
Syntax: CHISQ.TEST (actual_range, expected_range)
Inside:
- actual_range: The range of data that contains observations to test against the expected value.
- expected_range: The data range contains the ratio of the sum of the row and column totals to the total.
Attention:
- If actual_range, expected_range has a different number of data points -> the function returns the # N / A error value .
- Test ({chi ^ 2}) calculate statistics ({chi ^ 2}) using the formula:
[{chi ^ 2} = sumlimits_ {i = 1} ^ r {sumlimits_ {j = 1} ^ c {frac {{{{left ({{A _ {{rm {ij}}}} - {E _ {{rm {ij}}}}} right)} ^ 2}}} {{{E _ {{rm {ij}}}}}}}}]
Inside:
+ ({{A _ {{rm {ij}}}}}): Is the actual frequency in the i th row, j th column
+ ({{E _ {{rm {ij}}}}}): Is the expected frequency in the i th row, j th column
+ r: Number of rows
+ c: Number of columns
- The lower value of ({chi ^ 2}) is independent. ({chi ^ 2}) is always positive or equal to 0 and only 0 if and only if ({{A _ {{rm {ij}}}}}) = ({{E _ {{rm {ij}}}}}} ) with all i, j.
- Use the CHISQ.TEST function best when the ({{E _ {{rm {ij}}}}}) is not too small
For example:
Statistics ({chi ^ 2}) for the independence test according to the data in the table below:
- In the cell to calculate enter the formula: = CHISQ.TEST (C7: D9, E7: F9)
- Press Enter -> Statistics ({chi ^ 2}) for the independence test are:
Above are instructions and some specific examples when using the CHISQ.TEST function in Excel.
Good luck!
You should read it
- Z.TEST function - The function returns one-sided value of the z test in Excel
- T.TEST function - The function returns the probability associated with Student's t-Test in Excel
- CHISQ.DIST - Function returns the distribution when squared in Excel
- FTEST function - The function returns the result of an F-Test in Excel
- CHISQ.INV.RT function - The function returns the inverse of the right end probability of the distribution when squared in Excel
- CHISQ.DIST.RT function - The function returns the right end probability of the distribution when squared in Excel
- CHISQ.INV function - The function returns the inverse of the probability of the left end of the distribution when squared in Excel
- ZTEST function - Returns the probability value on one side of the z test in Excel
May be interested
- How to use the IF function in Excelthe if function in excel checks for a true or false condition. if the condition is true, the function returns a value, if the condition fails the function returns another value
- GAMMA function - The function returns the gamma function value in Excelgamma: the function returns the gamma function. support functions from excel 2013 onwards. syntax: gamma (number)
- POISSON.DIST function - The function returns the Poisson distribution in Excelpoisson.dist function: the function returns the poisson distribution, the application function to predict the number of events in a specific time. support functions from excel 2013 onwards. syntax: poisson.dist (x, mean, cumulative)
- WEIBULL function - The function returns the Weibull distribution in Excelthe function performs the calculation and returns the weibull distribution. based on this distribution to analyze reliability in theory such as calculating the average life of the device or used in the field of meteorology, hydrology and weather forecast.
- QUARTILE.EXC function - The function returns the quartile of a dataset without values 0 and 1 in Excelquartile.exc function: the function returns the quartile of the data set, with percentile values from 0 to 1 excluding 0 and 1. the support function is from excel 2010 onwards. syntax: quartile.exc (array, quart)
- PHI function - The function returns the value of the density function for a normal distribution in Excelphi function: the function returns the value of the density function for a standard normal distribution. support functions from excel 2013 onwards. syntax: phi (x)
- FORECAST function - The function returns a value along a linear trend in Excelforecast function: the function performs the calculation or prediction of a future value by using current values using linear regression. in excel 2016 this function is replaced by forecast.linear function. syntax: forecast (x, known_ys, known_xs)
- BETA.DIST function - The function returns the Beta distribution in Excelbeta.dist function: the function returns the beta distribution to study the variability of a number of things through a sample. support functions from excel 2010 onwards. syntax: beta.dist (x, alpha, beta, cumulative, [a], [b])
- How to use the IFS function in Excel 2016the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.
- GAMMA.INV function - The function returns the inverse of the gamma distribution in Excelgamma.inv: the function returns the inverse of the gamma distribution, using this function to study their distribution variables that may be symmetrical. support functions from excel 2010 onwards. syntax: gamma.inv (probability, alpha, beta)