[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Re: Fischer's exact when the expected counts are known
From
Steven Samuels <[email protected]>
To
[email protected]
Subject
Re: st: Re: Fischer's exact when the expected counts are known
Date
Mon, 9 Feb 2009 14:55:21 -0500
Richard has multinomial data: four categories with expected counts.
There is no such thing as a Fisher Exact Test for multinomial data;
Fisher's test is for two-way tables, and tests the hypothesis of
independence. Richard wants to test the fit of the observed data to
the expected. He needs Ben Jann's -mgof- (from SSC) or the packages
listed at the bottom of its help page. -mgof- uses simulation to
approximate the exact distributions of the Pearson Chi Square and
likelihood-ratio goodness-of-fit tests.
-Steve
On Feb 9, 2009, at 2:06 PM, Martin Weiss wrote:
<>
-h tabi-
HTH
Martin
_______________________
----- Original Message ----- From: "Ricardo Ovaldia"
<[email protected]>
To: <[email protected]>
Sent: Monday, February 09, 2009 8:00 PM
Subject: st: Fischer's exact when the expected counts are known
Dear all,
Is there a command or a way to trick -tabulate- to perform a
Fisher's exact test when the expected counts are known.
For example the observe counts are:
30 20 15 35
Under the null the expected counts are
20 30 30 20
I want to test this using a fisher exact test.
Thank you,
Ricardo
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |