CHITEST function - The function returns the independence test in Excel
The following article details how to use CHITEST, the function returns independence test.
Description: The function returns the probability value from the χ2 distribution when squared for statistics. The function is applied to determine whether the hypothesis is executed or not.
Syntax: CHITEST (actual_range, expected_range) .
Inside:
- actual_range: The data range contains the values to be compared with the expected values, the required parameters.
- expected_range: The data range contains the ratio of the sum of the row and column totals to the total.
Attention:
- The χ2 test calculates the χ2 statistic calculated by the formula:
Inside:
+ Aij is the actual frequency in the i th row, j th column.
+ Eij is the expected frequency in the i th row, j th column.
+ r is the number of rows.
+ c is the number of columns.
- If actual_range and expected_range have different data points => the function returns the # N / A error value.
- The lower value of the independence, from the formula we see χ2 is always positive and only equals 0 if and only if Aij = Eij.
- CHITEST uses the distribution with degrees of degrees of freedom df. The method of calculating df values is as follows:
+ if r> 1 and c> 1 => df = (r-1) (c-1).
+ if r = 1 and c> 1 => df = (c-1).
+ if r> 1 and c = 1 => df = (r-1)
The value of r and c are not equal to 1, so there is no case for r = 1 and c = 1.
- The best CHITEST function should be applied in case the Eij values are not too small, the Eij should be greater than or equal to 5 to achieve the most accurate results.
For example:
In the cell to calculate enter the formula: = CHITEST (D14: D16, D17: D19) .
After entering the formula, press Enter to get the results:
Thus, the value CHIPTEST = 0.05300872 => The initial expectation is quite close to reality.
Above is a guide to using the CHIPTEST function, hoping to help you apply it a lot in your work.
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
- FTEST function - The function returns the result of an F-Test in Excel
- ZTEST function - Returns the probability value on one side of the z test in Excel
- FISHER function - The function returns the Fissher transformation at x in Excel
- How to use the IF function in Excel
- How to use the IFS function in Excel 2016
- OR function in Excel, how to use the OR function, and examples
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)