History
Article Edit this page Discussion

McNemar's test

From Psychology Wiki

Jump to: navigation, search

In statistics, McNemar's test is a non-parametric method used on nominal data to determine whether the row and column marginal frequencies are equal. It is named after Q. McNemar, who introduced it in 1947. It is applied to 2 × 2 contingency tables with a dichotomous trait with matched pairs of subjects.

In the following example, a researcher attempts to determine if a disease is associated with the presence of a particular gene. Individuals without the disease are controls and individuals with the disease are cases. Within the cases and controls, individuals with the hypothesized disease gene are marked as positive for the presence of the gene and individuals without the gene are marked as negative.

Controls
+-total
Cases+10159160
-12133154
totals22292314

Cells represented in the following manner by the letters a, b, c and d, The totals across rows and columns marginal totals, and the grand total is represented by n:

Controls
+-total
Cases+aba+b
-cdc+d
totalsa+cb+dn

Marginal homogeneity occurs when the row totals are equal to the column totals, a and d in each equation can be cancelled; leaving b equal to c:

math
math

In this example, "Marginal homegeneity" would mean there was no effect of the gene.

The McNemar statistic is shown below:

math

math is a chi-squared statistic with 1 degree of freedom. The formula may be re-written to correct for discontinuity:

math

The marginal frequencies are not homogeneous, if the the math result is significant p < 0.05. If b and/or c are small (b + c < 10) then χ2 is not approximated by the chi-square distribution instead a Fisher's exact test should be used.

Smallwikipedialogo.png This page uses content from the English-language version of Wikipedia. The original article was at McNemar's_test. The list of authors can be seen in the page history. As with Psychology Wiki, the text of Wikipedia is available under the GNU Free Documentation License.

Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Doctor Who
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
Mystery Science Theater 3000
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"McNemar's test"
 
 
Hi!

I thought you'd like this page from Wikia!

http://psychology.wikia.com

Come check it out!
Send confirmation