# NOT RUN {
## Wong (2010), Table 2.6
data(gss8590)
# The table used in Wong (2010) is not perfectly consistent
# with that of Wong (2001)
tab <- margin.table(gss8590[,,c(2,4)], 1:2)
tab[2,4] <- 49
# Results correspond to lines 1, 6 and 11
results <- anoas(tab, nd=2)
results
# }
Run the code above in your browser using DataLab