[R] Simulating from the null distribution of a 2 x 3 table

David Winsemius dwinsemius at comcast.net
Thu Jul 7 03:18:05 CEST 2011


On Jul 6, 2011, at 8:58 PM, Jim Silverton wrote:

> Dear all,
>
> I want to simulate from the null distribution of the following 2 x 3  
> table,
>
> 2   5  10
> 4   8   5
>
> I am using  a chi-squared test.

Yeah. Right. A "chi-squared test". That certainly narrows it down ...  
to maybe one quarter of all statistical tests ever invented.


> Anyone has any idea how to do this?


Depending on what you actually mean by "the null distribution of a 2 X  
3 table". possibly:

?r2dtable

-- 
David.
>
> -- 
> Thanks,
> Jim.
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list