Top Banner
The Chi- square Statistic
12

The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Dec 24, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

The Chi-square Statistic

Page 2: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Goodness of fit

0This test is used to decide whether there is any difference between the observed (experimental) value and the expected (theoretical) value.

Page 3: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Goodness of Fit

Page 4: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Free from Assumptions

0Chi square goodness of fit test depends only on the set of observed and expected frequencies and degrees of freedom. This test does not need any assumption regarding distribution of the parent population from which the samples are taken.

0Since this test does not involve any population parameters or characteristics, it is termed as non-parametric or distribution free tests. This test is also sample size independent and can be used for any sample size.

Page 5: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

It is all about expectations

Oi = an observed frequency (i.e. count) for measurement iEi = an expected (theoretical) frequency for measurement i, asserted by the null hypothesis.

Page 6: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Expected Value

0F = the cumulative Distribution function for the distribution being tested.

0Yu = the upper limit for class I 0 (maximum possible observations for any category)

0Yl = the lower limit for class I0 (minumum possible observations for any category)

0N = the sample size

Page 7: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Hypothesis testing

Choose a level of alpha – usually 0.05This implies a 95% level of comfort that the observation is correct.

Page 8: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

ExampleThe number of cubs delivered to a population of bears in the wild is tested to see if there is no difference in probability of twins. (N = 50 females)

Number of cubs

0 1 2 3

Observed 1 5 35 9

Expected 12.5 12.5 12.5 12.5

Degrees of Freedom = Number of groups – 1

df = 4 – 1 = 3

Page 9: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

CHI-SQUARE DISTRIBUTION TABLE

Page 10: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Decision Rule

0Based on the alpha and the degrees of freedom, look up the value in the table.

0For our example of alpha=.05 and df=3

0 If chi square is greater than 7.82 then reject the null hypothesis that bears normally birth twins.

Page 11: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Calculate the value

Chi-square =(1-12.5)2/12.5 + (5-12.5)2/12.5 + (35-12.5)2/12.5 + (9-12.5)2/12.5 = 10.58 + 4.5 + 40.5 + 0.98 = 56.56

Number of cubs

0 1 2 3

Observed 1 5 35 9

Expected 12.5 12.5 12.5 12.5

Since 56.56 > 7.82 we reject the null hypothesis that the number of bear cubs is equally possible for 0-3 cubs

Page 12: The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.

Interpret the result

0Since we rejected the null hypothesis, what conclusions (inferences) can we come to?