[R] Simulating n 2x2 tables with the same odds ratio

hubinho hubinho at hotmail.com
Fri Mar 9 14:37:42 CET 2012


Hello.

I'm looking for a method to simulate n different 2x2 tables having all the
same odds ratio.

For example.

I need 
100 tables with odds ratio 1
100 tables with odds ratio 2
100 tables with odds ratio 3

and so on.

All tables should have the same marginal frequencies.

Thank you

--
View this message in context: http://r.789695.n4.nabble.com/Simulating-n-2x2-tables-with-the-same-odds-ratio-tp4459457p4459457.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list