JiTian Sheu
> In STATA, I can use -tabulate- for obtaining values of Chi-square test and
> Fischer Exact test for a 2X2 table.
> However, suppose, instead of 2X2, the dimemsion of table is 2XC,
> where C>2,
> then can I still obtain Fischer Exact test p-value?(I know,
> Chi-square test
> value is still obtainable.)
>
> I check the manual, it seems, STATA does not restrict the
> dimemsion of table
> for Fischer Exact Test, however, suppose my table is a 2XC(C>2),
> then STATA
> can not do the fischer exact test via command of -tabulate-.
> Does anyone have method for solving this?
>
The syntax for the Fisher [sic] test is -tabulate <varlist>, exact-.
This is well documented and you can try it.
With the auto data
tab foreign rep78, exact
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/