Re: [R] stats/debugging question hotelling t-sq

2008-03-16 Thread Klaus Nordhausen
rm your T2 to be F distributed (n-p-1) / ((n-2)*p) * T2 Best wishes, Klaus Original-Nachricht > Datum: Sun, 16 Mar 2008 04:09:00 -0700 > Von: [EMAIL PROTECTED] > An: r-help@r-project.org > Betreff: [R] stats/debugging question hotelling t-sq > Hi >

[R] stats/debugging question hotelling t-sq

2008-03-16 Thread toby909
Hi I spent hours looking over my formula. Somehow I cant find the reason why it gives me different answer. help appreciated. x = as.matrix(read.table("http://www.niehs.nih.gov/research/atniehs/core/microarrays/docs/heinloth.txt",1)) x = t(x)#now rows are subjects, cols are genes x = x[or