Relative Content

Tag Archive for r

R unable to generate the same multiway contingency table output as SAS

I’ve asked a couple of colleagues who are experienced in r, for help in converting SAS code to r. The challenge involves a multiway contingency table analysis, using a relatively simple data set. Although both colleague are veteran r users, they were independently, unable to generate output in r that even closely matched output from SAS — leaving them both perplexed. Below are the Data and SAS output and the SAS program. If anyone is up for a challenge in solving the r script for this…it would be much appreciated.

R unable to generate the same multiway contingency table output as SAS

I’ve asked a couple of colleagues who are experienced in r, for help in converting SAS code to r. The challenge involves a multiway contingency table analysis, using a relatively simple data set. Although both colleague are veteran r users, they were independently, unable to generate output in r that even closely matched output from SAS — leaving them both perplexed. Below are the Data and SAS output and the SAS program. If anyone is up for a challenge in solving the r script for this…it would be much appreciated.