No new MD run was made for this module. Three run grids produced earlier under their own frozen plans were reanalyzed: 16 replicas of alanine dipeptide (MD-REP), 12 runs of the same peptide with three force fields (MD-FF) and 18 runs of the trypsin-benzamidine complex with six ligand models (MD-LIG). The analysis plan was written before any calculation and frozen with SHA-256; the results were audited independently with separately written scripts and GROMACS tools. The qPCR section is a teaching model running in the browser, not measured data. Everything not computed is marked "This scenario was not computed".
MD-ERR · Error bars and honest comparison

An error bar is the uncertainty of what?

Writing "±" next to a number is easy; the hard part is saying what that bar represents. Was it computed from the frames of one run, or from independent replicas? Which components of a derived quantity did it come from? Out of how many comparisons was it picked? On this page the same questions are asked first of a qPCR experiment, then of real MD runs.

Discoveries: 0 / 8
Experimental bridge

ΔΔCt in qPCR: what is n, where does the error come from?

Relative gene expression is often computed with the ΔΔCt method: in each sample ΔCt = Ct(target) − Ct(reference), then ΔΔCt = mean(ΔCt, treatment) − mean(ΔCt, control) and the fold change is 2^−ΔΔCt. This is a teaching model: the Ct values are simulated in the browser. Below, experiments stream in one by one; from each experiment three different 95% intervals are computed from the same data. A correct 95% interval should cover the true value in about 95% of experiments. The counters in the boxes give the coverage so far; the bottom line gives the result for 2,000 experiments with the same setting. Change the settings; each change restarts the dance.

Biological samples (per group):
Technical replicates (per sample):
Biological SD (Ct, cycles):
Technical SD (well, cycles):
Biological correlation between target and reference:
True ΔΔCt:
Correct calculation·
Wrong n (wells as n)·
Unpaired·
interval covers the true valuedoes not covertrue fold changenewest experiment on top, ringed dot the estimate
Open

A technical replicate is not n

Look at at least three settings.

1 · Workshop: within run versus between replicas

Does the error bar of one run tell where a replica will land?

Each dot is the αR fraction of one MD run (200 to 2000 ps, 1801 frames); the bar is ±1.96 × SE. The naive SE counts frames as independent: √(p(1−p)/1801). The block SE splits the first 1800 frames into 9 blocks of 200 frames and divides the SD of the block means by √9. The yellow band is the spread between replicas of the same condition. Replicas differ only in their velocity seed; there is no real difference. The block SE comes from 9 blocks (8 degrees of freedom); the bar is still drawn with ±1.96 (normal approximation), and with t(0.975; 8) = 2.306 it would be about 18% wider. Two equal 95% intervals that do not overlap correspond roughly to a difference with p ≈ 0.006; so "no overlap" is a stricter criterion than "p < 0.05". Select a run: the replicas whose interval does not overlap with the selected run's turn red.

Condition:
Error:
Run:
selected runreplica with overlapping intervalnon-overlapping replica (looks "significantly different")spread between replicas (mean ± 1.96·SD)

Block explorer: the selected run

The strip at the top is every frame of the selected run: frames in αR are blue. Below it the frames are split into blocks of length B; the blue steps are the block means, the black line the mean of the run. When B is small, the block means jump between 0 and 1, but because there are so many of them the SE comes out small; since consecutive frames stay in the same state, this smallness is misleading. Increase B with the slider or press play.

SE curve of the selected runother replicas of the same conditionSD between replicas

The same question in LIE: how well do two replicas agree?

In MD-LIG each ligand model was run twice and each replica's LIE ΔG got a 5-block within-run error (from the complex run only). If the within-run error is right, z = |ΔG₁ − ΔG₂| / √(SE₁² + SE₂²) should stay below 2 for most models. Descriptive; no verdict is written.

Open

The naive error bar

Look at both error types.

Open

Does the block error predict a replica?

Set the block length to at least four values and look at at least two conditions.

2 · Workshop: the error of a derived quantity

The uncertainty budget of LIE ΔG

The LIE estimate is derived from four means: ΔG = α(⟨V_vdW⟩ₖ − ⟨V_vdW⟩ₛ) + β(⟨V_el⟩ₖ − ⟨V_el⟩ₛ), k the complex run, s the water run. The within-run error of one replica: SE² = [α²(SE²_vdW,k + SE²_vdW,s) + β²(SE²_el,k + SE²_el,s) + 2αβ(cov_k + cov_s)] / 4.184². Complex 5 blocks (50 to 500 ps), water 9 blocks (100 to 999 ps); the covariance from the el and vdW means of the same blocks. In the waterfall each term is added to SE²; a negative covariance lowers the total. The thin line is the value one would get if the covariance were ignored. Select a model and a replica.

Model:
Replica:
electrostatic (light tone: water run)van der Waals (light tone: water)covariancetotal SE²if the covariance were ignored
Table of the 12 replicas

Model level: two kinds of interval

The model estimate is the mean of two replicas. Within run: SE_within = √(SE₁² + SE₂²) / 2, interval ±1.96 × SE_within. Between replicas: SE_between = |ΔG₁ − ΔG₂| / 2; because it is estimated from two values, the interval is ±t(0.975; 1) × SE_between. The green band is the range measured from ChEMBL Ki values. The water run is shared by the two replicas: the SE_within formula combines the water part as if it were two independent measurements, so it shows the within-run interval somewhat too narrow; SE_between, by its construction, contains none of the water error, which is the same in both replicas.

Interval:
within run ±1.96 × SE_withinbetween replicas ±12.706 × SE_betweenreplicasmeasured range
Open

Where the uncertainty comes from

Look at the budget of at least three models.

Open

An interval from two replicas

Look at the two kinds of interval separately.

3 · Workshop: how many comparisons did you make?

The difference between same and same, and analysis choices

The eight replicas of W were split four against four in every distinct way (35 splits). Both halves come from the same condition; there is no real difference. In each split eight measures were tested three ways: frame level (all frames counted as independent; a z test for fractions, a Welch t test for continuous measures; there is no such test for the transition count), replica level (four values against four, exact permutation over 70 splits) and replica level + Holm (correction for eight measures within the split). A red cell means p < 0.05. With an exact four-against-four permutation the smallest two-sided p is 2/70 = 0.029, while the first Holm threshold is 0.05/8 = 0.00625: by design, the cells in the Holm tab can never turn red.

Test:
p < 0.05p ≥ 0.05no test (hatched)black frame: selected split and measure

Click a cell or play through the splits; below appear the eight runs of that split and how the replica-level test is built.

Measure:
runs of group Aruns of group Bdifference of one splitsplits at least as extreme as this one

The same data, eighteen analyses

The MD-REP question (water versus 0.15 M NaCl, αR fraction) was recomputed with three reasonable choices: the ψ bound between αR and β, the dropped start and the window end. Each column is one combination; at the top Δ = mean(S) − mean(W), below it which choices that combination used. The columns are sorted by Δ. The ringed black dot is the primary combination written in advance. Click a column or change the choices.

ψ upper bound:
Dropped start:
Window end:
Δ of one combinationprimary, written in advanceselected columnlower rows: filled dot, the choice was used in that combination
Open

When same and same come out "different"

Look at all three test types.

Open

How many paths were tried?

Look at at least four combinations.

4 · Bench: claim checker

Nine sentences: does this data support them?

For each sentence decide: it can be established with the data on this page, it needs more evidence, or it cannot be established with this data. The reasoning appears after your choice.

Open

What does the bar say?

Decide on at least four sentences.

5 · Notebook: uncertainty record

Seven lines written before reporting

Fill it in for your own work; the examples come from this page. Missing lines produce notes at the bottom. The text is generated only in your browser and is not sent anywhere.


  
6 · Quiz

Nine questions

Sources and limits

Terms in this module

The definition of each term and the other modules where it appears are in the glossary.