Posted by
Marta Garcia-Granero on
Jun 09, 2016; 6:31am
URL: http://spssx-discussion.165.s1.nabble.com/No-chi-square-value-in-McNemar-test-output-tp1080750p5732357.html
Hi Mieke:
As a closing remark.
A general advice: when you copy/paste code from web pages, make sure
that line wrapping doesn't split long lines in two. I took a look at the
picture you attached
(<
http://spssx-discussion.1045642.n5.nabble.com/file/n5732339/Mcnemar_macro_error.jpg>
), and I realized that your initial error message had in fact nothing
to do with MATRIX trying to write temporary files on protected folders.
Make sure that the first line in the macro definition:
DEFINE MYMCNEMAR(!POSITIONAL !TOKENS(1) /!POSITIONAL
!TOKENS(1)/!POSITIONAL !TOKENS(1)/POSITIONAL !TOKENS(1)).
Is in fact one single line. Since we can shorten some keywords, try this
as first line in the macro definition of the code you were using:
DEFINE MYMCNEMAR(!POS !TOKENS(1) /!POS !TOKENS(1)/!POS !TOKENS(1)/POS
!TOKENS(1)).
If you had read the error message, you would have understood where the
problem was. From the picture you sent:
>Error # 6823. Command name: DEFINE
>On the DEFINE command, each parameter definition ...
I didn't read beyond the first line. When I saw that the macro involved
was MyMcNemar, I entered automatic mode and sent you the standard reply.
Regards,
Marta GG
El 08/06/2016 a las 17:29, Mieke escribió:
> Hi All!
>
> Thanks a lot for your reply! Unfortunately, mine is still not working,
> giving error (even as administrator of with simplified matrix..) Progman,
> where do I use your PRESERVE -RESTORE? Do I use it in Syntax before putting
> the matrix in? or together? (I'm sorry I'm really not experienced with SPSS)
>
> Mieke
>
>
>
>
> --
> View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/No-chi-square-value-in-McNemar-test-output-tp1080750p5732350.html> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> 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