McNemar Results

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

McNemar Results

Stef-27
Dear All,

I have been analysing data using the McNemar test but am unsure which test
statistics to report as SPSS produces several.  Any advice would be
appreciated.

thanks

Stef.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: McNemar Results

Swank, Paul R
The chi square for McNemar is what is usually reported.

Dr. Paul R. Swank,
Professor and Director of Research
Children's Learning Institute
University of Texas Health Science Center-Houston


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Stef
Sent: Wednesday, February 18, 2009 10:17 AM
To: [hidden email]
Subject: McNemar Results

Dear All,

I have been analysing data using the McNemar test but am unsure which test
statistics to report as SPSS produces several.  Any advice would be
appreciated.

thanks

Stef.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: McNemar Results

Stef-27
In reply to this post by Stef-27
DO you know what the proceedure is for cases where SPSS does not calculate
the chi square?

thanks

Stef

On Wed, 18 Feb 2009 11:33:38 -0600, Swank, Paul R
<[hidden email]> wrote:

>The chi square for McNemar is what is usually reported.
>
>Dr. Paul R. Swank,
>Professor and Director of Research
>Children's Learning Institute
>University of Texas Health Science Center-Houston
>
>
>-----Original Message-----
>From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Stef

>Sent: Wednesday, February 18, 2009 10:17 AM
>To: [hidden email]
>Subject: McNemar Results
>
>Dear All,
>
>I have been analysing data using the McNemar test but am unsure which test
>statistics to report as SPSS produces several.  Any advice would be
>appreciated.
>
>thanks
>
>Stef.
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>[hidden email] (not to SPSSX-L), with no body text except the
>command. To leave the list, send the command
>SIGNOFF SPSSX-L
>For a list of commands to manage subscriptions, send the command
>INFO REFCARD
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>[hidden email] (not to SPSSX-L), with no body text except the
>command. To leave the list, send the command
>SIGNOFF SPSSX-L
>For a list of commands to manage subscriptions, send the command
>INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: McNemar Results

Swank, Paul R
Perhaps if you gave a sample of data and described the question you are trying to address.

Dr. Paul R. Swank,
Professor and Director of Research
Children's Learning Institute
University of Texas Health Science Center-Houston


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Stef
Sent: Thursday, February 19, 2009 6:34 AM
To: [hidden email]
Subject: Re: McNemar Results

DO you know what the proceedure is for cases where SPSS does not calculate
the chi square?

thanks

Stef

On Wed, 18 Feb 2009 11:33:38 -0600, Swank, Paul R
<[hidden email]> wrote:

>The chi square for McNemar is what is usually reported.
>
>Dr. Paul R. Swank,
>Professor and Director of Research
>Children's Learning Institute
>University of Texas Health Science Center-Houston
>
>
>-----Original Message-----
>From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Stef

>Sent: Wednesday, February 18, 2009 10:17 AM
>To: [hidden email]
>Subject: McNemar Results
>
>Dear All,
>
>I have been analysing data using the McNemar test but am unsure which test
>statistics to report as SPSS produces several.  Any advice would be
>appreciated.
>
>thanks
>
>Stef.
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>[hidden email] (not to SPSSX-L), with no body text except the
>command. To leave the list, send the command
>SIGNOFF SPSSX-L
>For a list of commands to manage subscriptions, send the command
>INFO REFCARD
>
>=====================
>To manage your subscription to SPSSX-L, send a message to
>[hidden email] (not to SPSSX-L), with no body text except the
>command. To leave the list, send the command
>SIGNOFF SPSSX-L
>For a list of commands to manage subscriptions, send the command
>INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: McNemar Results

Marta Garcia-Granero
Hi Stef:


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Stef
Sent: Thursday, February 19, 2009 6:34 AM
To: [hidden email]
Subject: Re: McNemar Results

DO you know what the proceedure is for cases where SPSS does not calculate
the chi square?



If sample size is low, SPSS computes the exact binomial p-value, instead
of the asymptotic chi-square. If the number of discordant pairs is at
least 10, the asymptotic chi-square is correct. You can compute it
manually, or using this macro:

DEFINE MCNEMARCHI(!POSITIONAL !TOKENS(1) /!POSITIONAL
!TOKENS(1)/!POSITIONAL !TOKENS(1)/!POSITIONAL !TOKENS(1)).
DATASET NAME Data.
DATASET DECLARE Results WINDOW=HIDDEN.
PRESERVE.
SET ERRORS=NONE RESULTS=NONE.
MATRIX.
COMPUTE a=!1 .
COMPUTE b=!2 .
COMPUTE c=!3 .
COMPUTE d=!4 .
COMPUTE chi2=((b-c)**2)&/(b+c).
COMPUTE chi2sig=1-CHICDF(chi2,1).
COMPUTE chi2cor=(ABS(b-c)-1)**2&/(b+c).
COMPUTE chi2sigc=1-CHICDF(chi2cor,1).
COMPUTE vnames={'Chi2','Sig'}.
SAVE {chi2,chi2sig;chi2cor,chi2sigc} /OUTFILE=Results /NAMES=vnames.
END MATRIX.
RESTORE.
DATASET ACTIVATE Results.
FORMAT chi2(F8.3) Sig (F8.4).
VAR LABEL chi2 'Chi²'/ Sig 'Sig.'.
STRING Test (A12).
IF ($casenum EQ 1) Test = 'Uncorrected' .
IF ($casenum EQ 2) Test = 'Yates Corr.' .
OMS /SELECT TABLES
 /IF COMMANDS='Summarize' SUBTYPES='Case Processing Summary'
 /DESTINATION VIEWER=NO.
SUMMARIZE
 /TABLES=Test chi2 Sig
 /FORMAT=LIST NOCASENUM NOTOTAL
 /TITLE="MacNemar's Chi-square tests (*)"
 /CELLS=NONE.
OMSEND.
DATASET ACTIVATE Data.
DATASET CLOSE Results.
ECHO '(*) Asymptotic'.
!ENDDEFINE.

* Sample data
*        B
* A    -    +
* -    16   2
* +    12  20

* Macro call *.

MCNEMARCHI 16 2 12 20.

HTH,
Marta García-Granero

--
For miscellaneous statistical stuff, visit:
http://gjyp.nl/marta/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD