Skip to content
Prev 5087 / 20628 Next

Data snooping in repeated measures study?

Were you collecting this data so that you could compare decay rates over time?
If so, then this test would be a test of an a-priori specified hypothesis.

Under the null hypothesis, all lots have the same slope.
Under the alternative hypothesis, all lots have different slopes.

So you would have one omnibus test comparing the 21 slopes for any difference.
The null model would have one parameter for slope, for all lots.
The alternative model would have 21 parameters for slope, one for each lot.

I'm not sure of the necessity for a mixed effects model - the little data 
shown here suggests you could just do a linear model exercise.  You state
that the lots are independent.

The single omnibus test will yield a result that protects against multiple comparisons.
Done as a linear model exercise, the test statistic would be an F statistic with
20 df in the numerator.

If this test result is not significant, then the one apparently different-looking
lot is just a result of random variation seen across this much data.

If this test result is significant, then the next question is which lots differ
from which others?  Multiple comparison procedures can then be used to
illustrate that issue.

It would be data-snooping to pick out the one obviously different lot, and start
comparing it to the other 20.  Test statistic p-values would then be too liberal
and confidence intervals too narrow.

lmf <- lm(CHG ~ Days * Lot, data = Conc.dat) # Each lot has different slope and intercept
lmr <- lm(CHG ~ Days + Lot, data = Conc.dat) # Each lot has same slope but different intercept
anova(lmr, lmf)

should give you the omnibus F test.

Check data plots,  residual plots and other diagnostics for any pathological issues in the model fits.


Steven McKinney, Ph.D.

Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre

email: smckinney +at+ bccrc +dot+ ca

tel: 604-675-8000 x7561

BCCRC
Molecular Oncology
675 West 10th Ave, Floor 4
Vancouver B.C.
V5Z 1L3
Canada
Message-ID: <DCE81E14EB74504B971DAD4D2DB0356B08645685B6@crcmail4.BCCRC.CA>
In-Reply-To: <21781_1294435677_1294435677_6B810AFB14C606439FD57E5985E03791061A062D@useagan1500p.GLOBAL.ECOLAB.CORP>