Biostatistics guides · worked examples

Choose the scientific question before the statistical test.

These guides start with study design and the intended inference, then show the data, calculation, graph and limits. Most include an editable Plotwright project that opens without creating an account.

23 worked guidesVisible dataExact reported resultsSource-linked methods

Start with the design

Experimental units, dependence and uncertainty

Decide what is independent, what is paired and what an error bar represents before comparing P values.

Experimental units · nested data

Technical vs biological replicates: what is n?

See why repeated reads improve measurement without creating new independent treatment assignments.

Experimental design · t tests

Paired vs unpaired: the same values, two answers

Use the data-collection design—not the observed correlation—to decide whether observations are paired.

Matched pairs · mean vs signed ranks

Paired t test vs Wilcoxon: choose the estimand

Compare mean-difference and signed-rank inference on the same ten matched patients without using a normality-test shortcut.

Repeated measures · missing data

RM ANOVA vs mixed effects: what does one blank remove?

Follow one missing observation through complete-case ANOVA and a random-intercept model.

Independent groups · unequal variances

Welch vs Student's: choose the variance model

Learn why a preliminary variance-test P value should not select the final t-test variant.

Descriptive statistics · error bars

SD vs SEM: spread is not precision

Separate observed sample variation from uncertainty in the estimated mean and its confidence interval.

Graphing · paired designs

Before-and-after plots: draw the pairing

Connected subject lines show what the paired analysis uses; two summary bars show what it discards.

Graphing · two-factor designs

Grouped bar graphs: which bar, which error

Build the standard two-factor figure and choose between SD, SEM and confidence-interval bars at small n.

Distribution diagnostics · sample size

Shapiro–Wilk and Q–Q plots: P > 0.05 is not proof

Follow the same mildly skewed sequence from n = 12 to n = 48 and interpret the test beside its visible departure.

How the library is built

Exact output is evidence—not automatic method selection.

Each guide names the design assumptions and evidence limits. The public validation page separately shows reference datasets, expected values and numerical tolerances used to check the engine.

Inspect the validation evidence →

Editable examples

Open the data, analysis and graph—not just the conclusion.

Public examples open locally in Plotwright without silently creating a cloud project. Change the values and inspect how the result moves.