[R] chi square exact test

Knut Krueger rh at knut-krueger.de
Thu Mar 7 10:38:32 CET 2013


Am 06.03.2013 22:20, schrieb David L Carlson:
> Actually, the http://www.sussex.ac.uk/its/pdfs/SPSS_Exact_Tests_20.pdf file indicates that for small samples and a one-way chi square test, SPSS uses a multinomial distribution to tabulate the distribution of chi square for a given N, K, and probability of membership in each group. In package stats, the dmultinom() function can be used to accomplish this. The last example on the help page shows the steps.
>
> ----------------------------------------------
> David L Carlson
> Associate Professor of Anthropology
> Texas A&M University
> College Station, TX 77843-4352
Than you very much.

This was exactly (incuding the sppss pdf) for what I was looking for.

Maybe its helpful for others here are the IBM PDF files:
ftp://public.dhe.ibm.com/software/analytics/spss/documentation/statistics/20.0/en/client/Manuals/

Knut



More information about the R-help mailing list