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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.