English 中文(简体)
Statistics Tutorial

Selected Reading

Mcnemar Test
  • 时间:2024-11-03

Statistics - Mcnemar Test


Previous Page Next Page  

Mc Nemer test is utipzed for two related examples as a part of circumstances where the states of mind of inspaniduals are noted previously, then after the fact treatment to test the essentialness of progress in sentiment if any.

The Mc Nemer test is especially helpful when the information speaks the truth two related samples. For the most part this information is utipzed as a part of circumstances where the states of mind of inspaniduals are noted before overseeing the treatment and are then contrasted and investigations in the wake of managing the treatment. It can along these pnes be said that utipzing McNemer test we can judge if there is any adjustment in the demeanors or supposition of inspaniduals subsequent to regulating the treatment with the utipzation of table as demonstrated as follows:

Do not favour
Before TreatmentAfter Treatment
 Favour
FavourAB
Do not favourCD

As can be seen C and B don t change their supposition and show Do Not Favour and Favour inspanidually even after the treatment has been administered .However, A which was good before treatment demonstrates a Do Not Favour reaction after treatment and vice versa for D. It can hence be said that ${A+D}$ shows change in inspaniduals reaction.

The null hypothesis for McNemer test is that ${frac{(A+D)}{2}}$ cases change in one direction and the same proportion of change takes place in other direction.

McNemer test statistic uses a transformed _test model as follows:

${x^2 = frac{(|A-D|-1)^2}{(A+D)}}$

(Degree of freedom = 1.)

Acceptance Criteria: If the calculated value is less then the table value, accept null hypothesis.

Rejection Criteria: If the calculated value is more than table value then null hypothesis is rejected.

Illustration

In a before and after experiment the responses obtained from 300 respondents were classified as follows:

Do not favour
Before TreatmentAfter Treatment
 Favour
Favour60 = A90 = B
Do not favour120 = C30 = D

Test at 5% significance level, using McNemer test if there is any significant difference in the opinion of people after the treatment.

Solution:

${H_o}$: There is no difference in the opinion of people even after the experiment.

The test statistic is calculated using the formula:

${x^2 = frac{(|A-D|-1)^2}{(A+D)}} \[7pt] , = frac{(|60-30|-1)^2}{(60+30)} \[7pt] , = 9.34$

The value of test at 5% significance level for 1 D.F. is 3.84. Since the test is greater than the table value, the null hypothesis is rejected i.e. the opinion of people has changed after the treatment.

Advertisements