Statistics 简明教程
Statistics - Mcnemar Test
麦克尼马检针对两个相关示例,作为诸如个人心态在处理前得到记录的情境的一部分使用,然后在治疗后的事实中检验情绪进展的实质性,如有的话。
Mc Nemer test is utilized for two related examples as a part of circumstances where the states of mind of individuals 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 utilized as a part of circumstances where the states of mind of individuals are noted before overseeing the treatment and are then contrasted and investigations in the wake of managing the treatment. It can along these lines be said that utilizing McNemer test we can judge if there is any adjustment in the demeanors or supposition of individuals subsequent to regulating the treatment with the utilization of table as demonstrated as follows:
Before Treatment |
After Treatment |
Favour |
|
Favour |
A |
B |
Do not favour |
C |
D |
正如可以看到,C 和 B 没有改变他们的假设,并且即使在管理处理后分别表现为“不赞成”和“赞成”。然而,在处理前表现良好的 A 在治疗后表现出“不赞成”的反应,对于 D 来说相反。因此可以说,${A+D}$ 表现出个人反应的变化。
As can be seen C and B don’t change their supposition and show 'Do Not Favour' and 'Favour' individually 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 individuals' reaction.
麦克尼马检的零假设是 ${\frac{(A+D)}{2}}$ 个案例朝着一个方向变化,并且相同比例的变化发生在另一个方向。
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.
麦克尼马检统计量使用转换后的 _test 模型,如下所示:
McNemer test statistic uses a transformed _test model as follows:
(自由度 = 1。)
(Degree of freedom = 1.)
Acceptance Criteria: 如果计算出的值小于表格值,则接受零假设。
Acceptance Criteria: If the calculated value is less then the table value, accept null hypothesis.
Rejection Criteria: 如果计算出的值大于表格值,则拒绝零假设。
Rejection Criteria: If the calculated value is more than table value then null hypothesis is rejected.
Illustration
在前后实验中,从 300 名受访者那里获得的响应分类如下:
In a before and after experiment the responses obtained from 300 respondents were classified as follows:
Before Treatment |
After Treatment |
Favour |
|
Favour |
60 = A |
90 = B |
Do not favour |
120 = C |
30 = D |
在 5% 显着性水平使用麦克尼马检,测试在治疗之后人们的观点是否有任何显著性差异。
Test at 5% significance level, using McNemer test if there is any significant difference in the opinion of people after the treatment.
Solution:
Solution:
${H_o}$:即使在实验之后,人们的观点也没有差异。
${H_o}$: There is no difference in the opinion of people even after the experiment.
使用以下公式计算检统计量:
The test statistic is calculated using the formula:
针对 1 个自由度在 5% 显着性水平的检值为 3.84。由于检大于表格值,因此拒绝零假设,即人们的观点在治疗后发生了改变。
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.