Which replicate answers which question?
With the same n, run at least 100 experiments each with technical and with biological replicates. What fraction of "difference found" do you get for two groups in the same condition?
To answer a question such as "does salt change how the molecule behaves?" with simulation, running two conditions and putting the numbers side by side is not enough. First you decide what counts as a replicate, which measure and which threshold will be used, and how much "difference" appears when the same condition is run twice. In this lab you will see with your own trials how each of these decisions changes the result; at the end you will write the plan of your own comparison.
Imagine comparing two groups on a Western blot. Loading the lysate of the same animal into three wells (technical replicates) measures loading and reading error; it does not measure the biological difference between animals. Three separate animals (biological replicates) carry the variability the question is really about. In the teaching model below the two groups are in the same condition: there is no real difference. The standard deviation between animals is 1 and between wells 0.3 (log₂ intensity units); each experiment applies a Welch t test, and experiments with p < 0.05 are counted as "difference found". The model is computed in your browser; it is not real blot data. Topic: pseudoreplication (Lazic 2010).
With the same n, run at least 100 experiments each with technical and with biological replicates. What fraction of "difference found" do you get for two groups in the same condition?
In this toy model a particle wanders on a double-well energy surface (overdamped Langevin, kT = 1, barrier 3 kT). The measured quantity is the fraction of time the particle spends in the left well; it is the toy counterpart of the αR fraction of alanine dipeptide. The "salt effect" tilts one of the wells slightly; if zero is chosen the two groups are in exactly the same condition (A versus A). A "study" runs n independent replicates in each group and compares the two groups with a Welch t test. By running 100 studies at once you measure how often this design says "difference found": with zero effect this fraction is the false positive rate, with an effect it is the power of the test.
"Six measures": left-well fraction, fraction with x < −0.5, fraction with x < 0.5, mean position, left-well fraction in the second half and number of crossings. The "chosen afterwards" setting imitates a researcher who looks at all six and reports the smallest p (Simmons et al. 2011). The "one value per frame" setting puts every frame into the test as if it were an independent measurement.
Each combination of settings is one row; studies run with the same settings accumulate. The chart plots the fraction of "difference found" against n for the rows with "one value per replicate, measure chosen in advance" (one line per effect and replicate length). The dashed horizontal line is 5%.
| Effect | n | Length | Entering the test | Measure | Studies | Difference found | 95% interval |
|---|
With the effect set to "none", run at least 100 studies with "one value per frame". What is the fraction of difference found for two groups in the same condition?
Run at least 100 studies with the effect "none", "one value per replicate" and the measure chosen in advance.
With the effect "none", set the measure to "chosen afterwards", run at least 100 studies and compare with the measure chosen in advance.
Set the effect above zero; with the same replicate length run 100 studies each for at least two different n.
The same question on a real GROMACS grid. The plan was written and frozen before the runs: the replicate unit is an independent run (8 replicates per condition, each with its own seed; in the salt replicates the ion positions also depend on the seed), the primary measure is the αR fraction between 200 and 2000 ps, the test is an exact permutation test (12,870 splits, two-sided, α 0.05), the smallest effect of interest is ±5 percentage points, and four verdict sentences were written in advance. The runs were alternated in the order W1, S1, W2, S2.
Preregistered verdict: inconclusive (difference +0.06 points; permutation p = 0.9911). The detailed views need JavaScript.
Gray bars: the difference of means over all 8 by 8 splits of the 16 replicates (what you would get if the labels were shuffled). The red line is the observed difference. In the other view, the Welch 95% and 90% intervals with the ±5 point equivalence band.
The 8 water replicates are split 4 by 4 in 35 different ways; each split is a real "same condition" comparison. The dots are the differences of the splits; those circled in red are splits with p < 0.05 (4 by 4 exact permutation, 70 splits).
The first k replicates in seed order (W1..Wk and S1..Sk) are taken; replicates are not picked. This series is descriptive and does not change the final verdict.
These measures do not enter the verdict; their p values are not corrected for multiple comparisons. The "chosen afterwards" setting in the workshop corresponds to picking and reporting the smallest p from this table.
| Measure | Water (mean) | Salt (mean) | Difference | p |
|---|
| Replicate | T (K) | P (bar) | V (nm³) | Ions | αR fraction | Status |
|---|
In the negative control, look at both the water versus water and the salt versus salt splits.
View the test first as the permutation distribution, then as the interval and equivalence band.
Move k to at least three different values; one of them should be 8.
When the plan of a comparison is written before the runs, it is clear what will count as the verdict whatever the result. The form below turns the decisions you tried on this page into a text for your own study. The text is created only in your browser; it is not sent anywhere.
| Decision | In this grid | In a protein study |
|---|
The definition of each term and the other modules where it appears are in the glossary.