Re: [R] Pooled mean square error for regression

2013-05-31 Thread Adams, Jean
I'm not sure I understand. If you fit an ANCOVA using the lm() function, like this, fit <- lm(Y ~ X*as.factor(batch)) summary(aov(fit)) and the hypothesis for equality of slopes is rejected, i.e., the X:as.factor(batch)) term is significant, then this same model already has batch-specific

[R] Pooled mean square error for regression

2013-05-31 Thread David A.
Hi, I would like to compare two batches of a product over time to see if they behave similarly, i.e same slope and intercept. This is a stability study. I will be performing ANCOVA analysis for this. According to ICH and FDA guidelines, if the test rejects the hypothesis of equality of slopes,

[R] pooled mean

2009-04-16 Thread Eleni Rapsomaniki
Dear R users, Is there an R function to compute the pooled mean? Many Thanks Eleni Rapsomaniki  __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.h