Hi,
I want to compute McNemar test with the following data:
data abc;
input x $ y $ count;
cards;
Absent Absent 256
Absent Present 0
Present Absent 88
Present Present 0
;
run;
proc freq data=abc;
table x*y/agree;
weight count;
run;
But
log shows that:
NOTE: No statistics are computed for x * y
since y has less than 2 nonmissing levels.
However, with the formula given in book it can be computed
manually. So I am wonder why SAS does not produce the McNemar test statistic.
Is this a software limitation???? ….. or anything else…
Kind Regards,
MADAN
| (i) The information contained in this e-mail message is intended only for the confidential use of the recipient(s) named above. This message is privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. (ii) The sender confirms that Ranbaxy shall not be responsible if this email message is used for any indecent, unsolicited or illegal purposes, which are in violation of any existing laws and the same shall solely be the responsibility of the sender and that Ranbaxy shall at all times be indemnified of any civil and/ or criminal liabilities or consequences there. |