Displaying 1 result from an estimated 1 matches for "abbasiams9".
2009 Jul 19
1
Can I use "mcnemar.test" for 3*3 tables (or is there a bug in the command?)
...marginal
homogeneity in a square table with more than two rows/columns"
>From searching for a Stuart-Maxwell
test<http://ourworld.compuserve.com/homepages/jsuebersax/mcnemar.htm>
in
google, I found an algorithm here:
http://www.m-hikari.com/ams/ams-password-2009/ams-password9-12-2009/abbasiAMS9-12-2009.pdf
>From running this algorithm I am getting a different P value, here is the
(somewhat ugly) code I produced for this:
get.d <- function(xx)
{
length1 <- dim(xx)[1]
ret1 <- margin.table(xx,1) - margin.table(xx,2)
return(ret1)
}
get.s <- function(xx)
{
the.s <-...