Displaying 1 result from an estimated 1 matches for "sexfun".
Did you mean:
_exfun
2009 Feb 09
2
R equivalent of SAS Cochran-Mantel-Haenszel tests?
...account, for both
variables, just the column variable
or neither. Is there an equivalent in R?
The mantelhaen.test in stats gives something quite different (a test of
conditional independence for
*nominal* factors in a 3-way table).
e.g. I'd like to reproduce:
*-- CMH tests;
proc freq data=sexfun order=data;
weight count;
tables husband * wife / cmh chisq nocol norow;
run;
The FREQ Procedure
Summary Statistics for Husband by Wife
Cochran-Mantel-Haenszel Statistics (Based on Table Scores)
Statistic Alternative Hy...