Re: [R] categorical data analysis - fisher.exact for 2x2 and greater

2008-05-07 Thread Dr. Jeff Miller
Hi Simon and all, I'm pretty sure that you are correct about this. I think it is a misconception to say that the fisher exact test is only for a 2 by 2 table. It is presented that way in textbooks because, for a 2x2 table, it is easy to perform. For larger tables, it becomes complex quickly due t

[R] problem with fisher.test

2008-04-28 Thread Dr. Jeff Miller
I posted this last night but I think I figured out the problem. I checked on the underlying equation for the Fisher Exact Test for tables greater than 2X2. It looks like I have an insane amount of factorials to be multiplied. Is that problem? Is it an overflow issue? Jeff L

[R] problem in fisher.test

2008-04-27 Thread Dr. Jeff Miller
I just a ran a fisher.test on a 9x5 table and received the following message Error in fisher.test(apaslg.t) : FEXACT error 30. Stack length exceeded in f3xact. This problem should not occur. I agree. The problem should not occur. I did some searching but only found other reports of th

Re: [R] Documentation General Comments

2008-04-22 Thread Dr. Jeff Miller
Bert, I don't think the documentation in of itself is the core of the problem presented in the original post about this. The problem is one of organization. I commented about it possibly being time for an exhaustive R Guide (similar to those huge books put out for commercial software) that compile

Re: [R] Documentation General Comments

2008-04-21 Thread Dr. Jeff Miller
I agree completely. Maybe it's time for an exhaustive manual (with weekly downloadable updates, of course). It would also be nice if it were cross-referenced. For example, to get what I wanted last weekend from a simple 2x2 contingency analysis, I had to bounce between 4 different libraries. (All

Re: [R] Mantel-Haenszel for 2x2

2008-04-19 Thread Dr. Jeff Miller
- Original Message - From: "Dr. Jeff Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 19, 2008 1:30 AM Subject: [R] Mantel-Haenszel for 2x2 Hi all, Does anyone know if an R function for the Mantel-Haenszel chi-square for a 2x2 table exist

[R] Mantel-Haenszel for 2x2

2008-04-18 Thread Dr. Jeff Miller
Hi all, Does anyone know if an R function for the Mantel-Haenszel chi-square for a 2x2 table exists? I’ve also seen it called the randomization Q statistic. Note that I’m not looking for the Cochran-Mantel-Haenszel…I did see that out there as cmh.test. Thanks in advance, Jeff Internal