Chi-squared goodness of fit tests

Chi-squared goodness of fit tests Flashcards

Spec 4.1–2 · Edexcel International A Level Further Maths: Flashcards

Studying this course? Keep your progress in one place.

Flip each card. Be honest: the ones you mark Not yet come back first.

13 cards

Tap a card to flip it. Swipe right if you knew it, left if not.

See all 13 cards
What are the hypotheses in a goodness of fit test?
H0H_0: the stated model fits the data. H1H_1: it does not fit.
State the χ2\chi^2 test statistic.
X2=∑(Oi−Ei)2EiX^2=\sum\frac{(O_i-E_i)^2}{E_i}
Is a goodness of fit test one-tailed or two-tailed?
One-tailed. Only a large X2X^2 is evidence against the model.
When must cells be combined?
When any expected frequency is less than 5. Add neighbouring cells, both EiE_i and OiO_i.
Degrees of freedom for goodness of fit?
ν=k−1−m\nu=k-1-m, with kk cells after combining and mm parameters estimated.
Degrees of freedom: Poisson with λ\lambda estimated and 5 cells?
ν=5−1−1=3\nu=5-1-1=3
Degrees of freedom: Normal with μ\mu and σ2\sigma^2 both estimated and 6 cells?
ν=6−1−2=3\nu=6-1-2=3
How is EiE_i found for a fair die thrown nn times?
Ei=n6E_i=\frac{n}{6} for every face.
How are expected frequencies found for a continuous uniform distribution on [a,b][a,b]?
E=n×class widthb−aE=n\times\frac{\text{class width}}{b-a} for each class.
How is the parameter estimated for a binomial B(n,p)B(n,p) fit?
p^=sample meann\hat p=\frac{\text{sample mean}}{n}
How is the parameter estimated for a Poisson fit?
λ\lambda is the sample mean. Use 'rr or more' for the last cell.
What is the decision rule?
Reject H0H_0 if X2X^2 exceeds the critical value of χν2\chi^2_\nu; otherwise there is insufficient evidence to reject it.
What does a very small X2X^2 tell you?
The observed frequencies are very close to the model, so there is no evidence against the fit.

Flashcards