[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Ricardo Ovaldia <ovaldia@yahoo.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Re: Fischer's exact when the expected counts are known |

Date |
Tue, 10 Feb 2009 05:52:03 -0800 (PST) |

Thank you Steve. You are absolutely correct. Ricardo. Ricardo Ovaldia, MS Statistician Oklahoma City, OK --- On Mon, 2/9/09, Steven Samuels <sjhsamuels@earthlink.net> wrote: > From: Steven Samuels <sjhsamuels@earthlink.net> > Subject: Re: st: Re: Fischer's exact when the expected counts are known > To: statalist@hsphsun2.harvard.edu > Date: Monday, February 9, 2009, 1:55 PM > 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" <ovaldia@yahoo.com> > > To: <statalist@hsphsun2.harvard.edu> > > 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/ * * 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/

**References**:**Re: st: Re: Fischer's exact when the expected counts are known***From:*Steven Samuels <sjhsamuels@earthlink.net>

- Prev by Date:
**Re: st: Strange -joinby- behaviour...** - Next by Date:
**st: Update to -estout- available from SSC** - Previous by thread:
**Re: st: Re: Fischer's exact when the expected counts are known** - Next by thread:
**st: xtmixed: cov structure for within REs** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |