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
PM To: Dr. Jeff Miller; [EMAIL PROTECTED] Subject: Re: [R] Mantel-Haenszel for 2x2 See if this is what you are looking for: library(epicalc) data(Oswego) use(Oswego) cc(ill, chocolate) mhor(ill, chocolate, sex) You might also wish to read the details of: mantelhaen.test HTH], Rob Baer

[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

Re: [R] cronbach's alpha

2007-11-13 Thread Jeff Miller
/9125.html HTH, Jeff Miller Jeffrey M. Miller, PhD AlphaPoint05, Inc. Statistics Consultant 2792 SE 27th Ave. Gainesville, FL 32641 H: 352.505.2798 C: 352.359.6611 Checked by AVG Free Edition. 9:50 PM --- 

[R] Mplus and R

2007-11-01 Thread Jeff Miller
Has anyone successfully linked Mplus and R and have code on how to do it? It would be great to use R to simulate datasets and then ship to Mplus for SEM analysis. I know one researcher who does this quite regularly but I can’t get ahold of him right now. Sincerely, Jeff Miller

Re: [R] simple averaging question?

2007-11-01 Thread Jeff Miller
Moshe, Ted, & Chuck, All THREE approaches worked fine for me. Thank you! Sincerely, Jeff Miller Internal Virus Database is out-of-date. Checked by AVG Free Edition. 3:09 PM --- Begin Message --- Jeff Miller wrote: > Hi all, > Suppose I have a column vec

[R] simple averaging question?

2007-11-01 Thread Jeff Miller
Hi all, Suppose I have a column vector of 600 measurements taken in 1s intervals. What I want is a new vector with the averages for each min (so there would be 10 entries). Is there an efficient way to do this? I’ve been doing it with a ‘for’ loop but something tells me there is a simpl

Re: [R] cluster analysis

2007-11-01 Thread Jeff Miller
topic. If you don't have access to texts and journals then try a statistics listserv. But, even a Google search on cluster analysis will provide you plenty of direction. Best wishes. Sincerely, Jeff Miller Jeffrey M. Miller, PhD AlphaPoint05

Re: [R] linking Tinn-R to a new R version

2007-10-26 Thread Jeff Miller
get to the end of the line. Sincerely, Jeff Miller Jeffrey M. Miller, PhD AlphaPoint05, Inc. Statistics Consultant 2792 SE 27th Ave. Gainesville, FL 32641 H: 352.505.2798 C: 352.359.6611 Checked by AVG Free

Re: [R] Repeated Measures/Linear Mixed Effects function

2007-10-22 Thread Jeff Miller
--- Begin Message --- Hi Keith, it seems like a good starting position. I recommend that you spend some time studying Pinheiro and Bates's book to see where t ogo from here. Cheers Andrew On Mon, Oct 22, 2007 at 02:58:51PM -0800, Keith Cox wrote: > I have three columns