# Thread:

1. ## [SOLVED] Chi-Square Test

Two different teaching procedures were used in two different groups of students. Each group had 100 students of similiar ability. These are the results:

Group A B C D F
I 15 25 32 17 11
II 9 18 29 28 16

Data is independent from two respective multinomial distribution with k = 5. Test at the 5% level the hypothesis that the two teaching methods are equally effective.

So let X be the students in group 1, and Y students in group 2.

So the test statistic would be: $Q = \Sigma \frac{(X_i - np_i)^2}{np_i} - \frac{(Y_i - np_i)^2}{np_i}$.

Since it's a multinomial distribution, I know that the expectation is np_i, but how would I find p_i?

2. Originally Posted by statmajor
Two different teaching procedures were used in two different groups of students. Each group had 100 students of similiar ability. These are the results:

Group A B C D F
I 15 25 32 17 11
II 9 18 29 28 16

Data is independent from two respective multinomial distribution with k = 5. Test at the 5% level the hypothesis that the two teaching methods are equally effective.

So let X be the students in group 1, and Y students in group 2.

So the test statistic would be: $Q = \Sigma \frac{(X_i - np_i)^2}{np_i} - \frac{(Y_i - np_i)^2}{np_i}$.

Since it's a multinomial distribution, I know that the expectation is np_i, but how would I find p_i?
Under the null hypothesis the maximum likelihood estimate of the expected value of cell frequency $n_{ij}$ for a contigency table is $\frac{r_i \cdot c_j}{n}$ where $r_i$ is the row total (for row i) and $c_j$ is the column total (for column j) and n is the total frequency.

3. Got it; thanks.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 6, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9461932182312012, "perplexity_flag": "middle"}