Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
What is McNemar
Test is used to determine if there are differences on a
II. INTRODUCTION
2
INTRODUCTION
Example
▰ Determine whether the proportion of participants who had low self-esteem
(as opposed to high self-esteem) before a series of counselling sessions
(i.e., an intervention) decreased after the intervention (i.e., your dependent
variable would be "level of self-esteem", which has two categories: "low"
and "high").
▰ Use the McNemar's test to determine whether the proportion of participants
who felt safe (yes or no) differed when wearing a cycling helmet as opposed
to wearing no cycling helmet (i.e., the dependent variable would be "sense
of safety", which has two categories: "safe" and "not safe").
3
“
This "quick start" guide shows you how to carry out a
McNemar's test using SPSS Statistics, as well as
interpret and report the results from this test. However,
before we introduce you to this procedure, you need to
understand the different assumptions that your study
design must meet in order for a McNemar's test to be an
appropriate choice of test.
4
The McNemar's test has three assumptions that
must be met. If these assumptions are not met,
you cannot use a McNemar's test, but may be able
to use another statistical test instead. Therefore, in
order to run a McNemar's test, you need to check
that your study design meets the following three
assumptions:
II. ASSUMPTIONS
5
II. ASSUMPTIONS
6
II. ASSUMPTIONS
(1) The dichotomous responses for the first of your related groups (e.g., Before,
which reflects whether participants were "Non-Smokers" or "Smokers" before the
video intervention);
(2) The dichotomous responses for the second of your related groups (e.g., After,
which reflects whether participants were "Non-Smokers" or "Smokers" after the
video intervention); and
9
Setup in SPSS Statistics
▰ For a McNemar's test, you will have either two or three variables:
(1) The dichotomous responses for the first of your related groups
(e.g., Before, which reflects whether participants were "Non-
Smokers" or "Smokers" before the video intervention);
13
Test Procedure in SPSS Statistics
▰ The three steps below show you how to analyze your data using a
McNemar's test in SPSS Statistics. We show you the legacy
procedure in SPSS Statistics below rather than the 'new'
procedure that SPSS Statistics has introduced because the legacy
approach can be used in the recent versions of SPSS Statistics (up to
version 22), as well as older versions (version 17 and older). At the
end of these three steps, we show you how to interpret the results
from this test.
14
1
15
16
You will be
presented
with
the Two-
Related-
Samples
Tests dialo
gue box, as
shown
below:
17
Transfer the
variables Before and Afte
r into the Test Pairs: box.
To do this, highlight
both variables by
clicking on one
(e.g., Before), then
holding down the shift-
key, click the other
variable (e.g., After).
Now, click the button.
You will end up with a
screen similar to the
one below:
18
▰ Explanation: The Test Pairs: box is where you enter the dependent variable(s) you
want to analyze You can transfer more than one dependent variable into this box
to analyze many dependent variables at the same time.
▰ Note: By default, SPSS Statistics uses a statistical significance level of .05 and
95% confidence intervals. This equates to declaring statistical significance at
the p < .05 level. If you need to change these values in line with your study design
(e.g., a statistical significance level of .01 and 99% confidence intervals), you can
only do this using SPSS Statistics's newer nonparametric procedure, which
provides far more options than the legacy procedure above. We show you how to
use the newer nonparametric procedure in our enhanced McNemar's test guide.
19
3. Click the button to generate the output.
20
Cross tabulation Table
It is important when reporting a McNemar's test
result that you also interpret and report
descriptive statistics in order to get a 'feel' for
your data, as well as to provide an appropriate
description of your data. One important measure
that we can report is the proportion of
participants that were non-smokers both prior to
and after the intervention. This is illustrated in the
results generated in the Crosstabulation table
(called the Before & After table in our example),
as shown below:
21
▰ Note: You will notice that the table is named after
the two variables in our analysis
(i.e., Before and After). As such, unless you are using
the same variable names as in this example, your
table will have a different title reflecting the names
of the variables in your analysis.
22
Consulting the bottom-left cell first, you can see that there were 16
participants that were originally smokers, but following the intervention, they
became non-smokers. In the sense that the intervention was designed to
reduce smoking, these participants could be considered the intervention's
successes. However, by consulting the top-right cell, you can see that five
non-smokers actually took up smoking following the intervention! Clearly, this
is not the effect you were looking for, and it is important that you note this in
your report. So, although overall there were more 'positive' changes than
'negative' changes, it can be enlightening to know the different 'directions of
travel' that the participants took.
23
Now that we know that the proportion
of non-smokers increased following
the intervention, we would like to
know whether this difference is
statistically significant. To know this,
we can use the result of McNemar's
test, which can be found in the Test
Statistics table below:
24
▰ If the statistical significance level (i.e., p-value) is less than .05 (i.e., p < .05), you
have a statistically significant result and the proportion of non-smokers before
and after the intervention is statistically significantly different. Alternatively,
if p > .05, you do not have a statistically significant result and the proportion of
non-smokers before and after the intervention is not statistically significantly
different (i.e., the proportion of non-smokers does not change over the course of
the intervention). In our example, p = .027 (using the exact p-value), which
means that the proportion of non-smokers is statistically significantly different
after the intervention as compared to before. Put another way, the change in the
proportion of non-smokers following the intervention was statistically
significant.
25
▰ Note: You will notice that we reported the exact p-value of p = .027
(i.e., Exact Sig. (2-tailed)). When you carry out your own analysis, you may
not have this exact p-value, but an asymptotic p-value instead (i.e., Asymp.
Sig.). This is because SPSS Statistics calculates the p-value differently
depending on the number of discordant pairs in your Crosstabulation table
(i.e., the first table of output we showed you above). To understand the
differences between these two types of p-value, and how to interpret and
report them for your results, see our enhanced McNemar's test guide. You
can subscribe to this enhanced guide and all of our content here.
26
Based on the results above, we could report the results
of the study as follows:
27
Reporting the output of the McNemar's test
General
Fifty participants were recruited to take part in an intervention designed to warn about the
dangers of smoking. An exact McNemar's test determined that there was a statistically
significant difference in the proportion of non-smokers pre- and post-intervention, p = .027.
Note:
If your results used the asymptotic p-value rather than the exact p-value, we would suggest
reporting this differently to take into account the differences between the two values.
28
▰ In our enhanced McNemar's test guide, we show you how to incorporate the
descriptive information from the Crosstabulation table (i.e., the Before &
After table) into your write-up, as well as how to distinguish between
asymptotic and exact p-values. We also show you how to write up the results
using the Harvard and APA styles. You can learn more about the McNemar's
test, how to accurately set up your data in SPSS Statistics, and how to
interpret and write up your findings in more detail in our enhanced
McNemar's test guide, which you can subscribe to here
29
THANKS!
30
BIG CONCEPT
Bring the attention of your audience over a
key concept using icons or illustrations
31
YOU CAN ALSO SPLIT YOUR CONTENT
White Black
Is the color of milk and fresh Is the color of coal, ebony, and
snow, the color produced by the of outer space. It is the darkest
combination of all the colors of color, the result of the absence
the visible spectrum. of or complete absorption of
light.
32
IN TWO OR THREE COLUMNS
33
A PICTURE IS WORTH A THOUSAND WORDS
34
Want big impact?
USE BIG IMAGE
35
USE CHARTS TO EXPLAIN YOUR IDEAS
36
AND TABLES TO COMPARE DATA
A B C
Yellow 10 20 7
Blue 30 15 10
Orange 5 24 16
37
MAPS
OUR OFFICE
38
89,526,124
Whoa! That’s a big number, aren’t you proud?
39
89,526,124$
That’s a lot of money
185,244 users
And a lot of users
100%
Total success!
40
OUR PROCESS IS EASY
41
LET’S REVIEW SOME CONCEPTS
42
GRAPH TITLE
44
iPHONE PROJECT
Show and explain your
web, app or software Place your screenshot here
45
TABLET PROJECT
Show and explain your
web, app or software Place your screenshot here
46
DESKTOP PROJECT
Show and explain your Place your screenshot here
47
CREDITS
48
PRESENTATION DESIGN
You don’t need to keep this slide in your presentation. It’s only here to serve you as a design guide if you need to create
new slides or download the fonts to edit the presentation in PowerPoint®
49
HELLO!
I am Jayden Smith
I am here because I love to give presentations.
You can find me at @username
50
SlidesCarnival icons are editable shapes.
Examples:
51
😉
Now you can use any emoji as an icon!
And of course it resizes without losing quality and you can change the color.
✋👆👉👍👤👦👧👨👩👪💃🏃💑❤😂
😉😋😒😭👶😸🐟🍒🍔💣📌📖🔨🎃🎈
🎨🏈🏰🌏🔌🔑 and many more...
52