Statistics / Chapter 4
Inference for Quantitative Data: Means
Cheat sheet
Mean conditions and t
- For independent samples, When population SD is unknown, estimate
- Check design, independent observational units and the 10% guideline when relevant. For small samples inspect the population/sample shape and outliers; larger samples tolerate some skew but do not excuse severe outliers automatically.
- One-sample t has under normal independent sampling. Smaller df gives heavier tails; critical values also depend on confidence level.
One mean and paired differences
- Interval: Test: Specify the alternative, calculate the matching tail probability, and interpret the population mean in context.
- For matched pairs, define one difference per pair in a stated order. Analyze using and where n counts pairs. Inspect the distribution of differences and independence across pairs.
- A mean interval does not predict a corresponding percentage of individual observations. Pairing by itself does not eliminate time/order confounding in an uncontrolled before/after study.
Two independent means
- Independent variances add even though the means are subtracted. Check conditions separately for both groups.
- Welch interval: Test: usually with
- Welch degrees of freedom: Software may report a noninteger value; do not substitute paired df or automatically pool variances.
- Keep group order and units explicit. Random selection supports population inference; randomized treatment assignment supports causal interpretation within the study’s scope.
Simulation and power
- Simulate the null, preserve the sampling/assignment mechanism and sample sizes, calculate the same statistic, and count outcomes at least as extreme (including ties) according to the alternative.
- Estimated p-value = qualifying simulations / repetitions. Zero qualifying outcomes in a finite run does not mean the true tail probability is zero; report resolution and use any formal Monte Carlo correction consistently.
- At a specified alternative, power Holding other features fixed, lowering alpha reduces Type I error but generally reduces power. Larger samples, larger true effects and lower variability generally improve power.
- A significant effect can be practically small. A non-significant result can reflect low power; report an estimate and its uncertainty where useful.
Select the procedure
- Categorical outcome: proportion methods or chi-square for categorical association/distribution comparison. Quantitative outcome: mean methods. Decide whether groups are independent or paired before choosing a formula.
- An interval estimates a parameter; a test evaluates a specified claim. For a compatible two-sided test and confidence interval using the same method, a null value outside the 1−alpha interval is rejected at alpha.
- Do not automatically equate an unpooled two-proportion interval with a pooled-null test: their standard errors differ. Assumptions, method and sidedness must match.
Diagrams
t and normal references

Power under a specified alternative
