Greg.Snow at imail.org
Fri Sep 10 20:52:36 CEST 2010
Do you need a table with an odds ratio exactly equal to 3 (or other value), or a realistic sample from a population with odds ratio 3 where the sample table will have a different OR (but the various tables will cluster around the true value)?
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Jim Silverton
> Sent: Friday, September 10, 2010 1:03 AM
> To: r-help at r-project.org
> Subject: Re: [R] Simulation
> I have two questions:
> (1) How do you 'create' an 2 x 2 table in R using say an Odd ratio of
> 3 or
> even 0.5
> (2) If I have several 2 x 2 tables, how can I 'implement' dependence in
> tables with say 25 of the Tables having an odds ratio of 1 and 75 of
> tables having an odds ratio of 4?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help