I am asked often this question and I would like to know how to do it properly.
The scenario is as following: Simple values are measured in two groups of animals, e.g. treatment and control groups. We are interested if there is a significant difference between the means of the measured value. Since the values are close to normal distribution, it is text-book case, we can use a simple t-test.
The problem: we have calculated that we need 12-12 animals to have the appropriate power to measure the expected differences, but for technical reasons (outside of our control), we can do the measurement only in 3-3 animals on a given day. Unfortunately, the wet-lab partner noticed, that the measured values are affected substantially by the day the measurement was taken because of environmental factors (again, outside of our control).
* Question 1: how to do the statistics to eliminate the environmental influence and measure only the effect of the treatment?
- My solution 1: let's just ignore the variance from the environmental factor, and do the simple t-test as if all the measurements were taken on the same day.
The problem with this: in some experiments (and on certain days) the effect from the environmental factor can be greater than from the treatment. Measurements are prone to fail, so there are days from which there are different number of samples from one or the other group, therefore the effect of environmental factor is not "balanced" throughout the measurements.
- My solution 2: We can calculate the mean of the value for each day in both groups and perform paired t-test on the treatment - control pairs where pairs are the means of the measurements taken on the same day. I am really not sure if this approach is sound from the point of statistics.
* Question 2: I want to help the wet-lab partner to design this experiment properly. How to design an experiment in the future to eliminate the (changing size) effect of the environmental factor? Constraints: In theory, in a normal t-test we would need 12-12 samples, but we can measure a maximum of 6 animals in one batch.
Thanks for any comment on this issue.
I would appreciate also any pointer what topics to study further for similar issues.