Goodness of fit tests and contingency tables

Goodness of fit tests and contingency tables Flashcards

Spec 6.1 · Edexcel 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
State the χ2\chi^2 test statistic.
X2=∑(Oi−Ei)2EiX^2=\sum\frac{(O_i-E_i)^2}{E_i}
When must cells be combined?
When an expected frequency Ei<5E_i<5: merge with a neighbouring cell, adding both OO and EE.
Degrees of freedom for a goodness of fit test?
Cells (after combining) −1−-1- number of parameters estimated from the data.
Degrees of freedom for a fair-die test?
6−1=56-1=5, since nothing is estimated.
Expected frequency in a contingency table?
row total×column totalgrand total\frac{\text{row total}\times\text{column total}}{\text{grand total}}
Degrees of freedom for a contingency table?
(r−1)(c−1)(r-1)(c-1)
Hypotheses for a contingency table test?
H0\mathrm{H}_0: no association (the variables are independent); H1\mathrm{H}_1: there is an association.
How do you estimate pp for a B(N,p)\mathrm{B}(N,p) fit?
p^=xˉN\hat p=\frac{\bar x}{N}, using the sample mean. This costs one degree of freedom.
How do you estimate λ\lambda for a Poisson fit?
λ^=xˉ\hat\lambda=\bar x, the sample mean. This costs one degree of freedom.
Expected frequency for each outcome of a discrete uniform model with kk outcomes and nn observations?
nk\frac nk
Critical value of χ52\chi^2_5 at 5%?
11.07011.070
Critical value of χ22\chi^2_2 at 5%?
5.9915.991
When do you reject the null hypothesis?
When X2≥X^2\geq the critical value, or the p-value is less than the significance level.

Flashcards