# Nt1310 Unit 8 Regression Analysis

1629 Words7 Pages
TOPIC 8 Chi-Square goodness-of-fit test Problem 12.1 Use a chi-square goodness-of-fit to determine whether the observed frequencies are distributed the same as the expected frequencies (α = .05) Category | fo | fe | 1 | 53 | 68 | 2 | 37 | 42 | 3 | 32 | 33 | 4 | 28 | 22 | 5 | 18 | 10 | 6 | 15 | 8 | Step 1 Ho: The observed frequencies are distributed the same as the expected frequencies Ha: The observed frequencies are not distributed the same as the expected frequencies Step 2 df = k – m – 1 Step 3 α = 0.05 x 2 0.05, 5df = 11.0705 Step 4 Reject Ho if x 2 &gt; 11.0705 Category | fo | fe | | 1 | 53 | 68 | | 2 | 37 | 42 | | 3 | 32 | 33 | | 4 | 28 | 22 | | 5 | 18 | 10 | | 6 | 15 | 8…show more content…
We can conclude that the data are Poisson distributed. Chi-Square test of independence Problem 12.12 Use the following contingency table to determine whether variable 1 is independent of variable 2. Let α = .01 | Variable 2 | Variable1 | 24 | 13 | 47 | 58 | | 93 | 59 | 187 | 244 | Step 1 Ho: the two classifications are independent Ha: the two classifications are dependent Step 2 d.f = (r – 1) (c – 1) Step 3 α = 0.01 x 2 0.01, 3df = 11.3449 Step 4 Reject Ho if x 2 &gt; 11.3449 | Variable 2 | Total | Variable1 | 24 (22.92) | 13 (14.10) | 47 (45.83) | 58 (59.15) | 142 | | 93 (94.08) | 59 (57.90) | 187 (188.17) | 244 (242.85) | 583