Working with Excel, Chi Squared tests
Statistics

Tutor: None Selected  Time limit: 1 Day 
I'm a little confused on how to do a Chi Squared test on excel. I'm a little new to the program, so I'm getting confused on how to use formulas and functions. Thanks!
CHI TEST
Returns the test for independence. CHITEST returns the value from the chisquared (χ^{2}) distribution for the statistic and the appropriate degrees of freedom. You can use χ^{2} tests to determine whether hypothesized results are verified by an experiment.
Syntax
CHITEST(actual_range,expected_range)
Actual_range is the range of data that contains observations to test against expected values.
Expected_range is the range of data that contains the ratio of the product of row totals and column totals to the grand total.
Remarks
 If actual_range and expected_range have a different number of data points, CHITEST returns the #N/A error value.
 The χ^{2} test first calculates a χ^{2} statistic using the formula:
where:
A_{ij} = actual frequency in the ith row, jth column
E_{ij} = expected frequency in the ith row, jth column
r = number or rows
c = number of columns
 A low value of χ^{2} is an indicator of independence. As can be seen from the formula, χ^{2} is always positive or 0, and is 0 only if A_{ij} = E_{ij} for every i,j.
 CHITEST returns the probability that a value of the χ^{2} statistic at least as high as the value calculated by the above formula could have happened by chance under the assumption of independence. In computing this probability, CHITEST uses the χ^{2} distribution with an appropriate number of degrees of freedom, df. If r > 1 and c > 1, then df = (r  1)(c  1). If r = 1 and c > 1, then df = c  1 or if r > 1 and c = 1, then df = r  1. r = c= 1 is not allowed and #N/A is returned.
 Use of CHITEST is most appropriate when E_{ij}’s are not too small. Some statisticians suggest that each E_{ij} should be greater than or equal to 5.
Example
The example may be easier to understand if you copy it to a blank worksheet.


Secure Information
Content will be erased after question is completed.