Confidence Interval for a Mean (t-based) — Notebook Template
Compute a t-based confidence interval for a sample mean when σ is unknown (educational). Includes margin of error and assumptions.
What this template does
This is a ready-to-run GetCalcMaster Notebook starter. Open it into Notebook, run once with defaults, then tweak inputs and keep your assumptions next to the math.
How to use it (recommended)
- Open in Notebook.
- Enter sample mean x̄, sample standard deviation s, and sample size n.
- Choose confidence level (e.g., 0.95).
- Compute t* with tinv(1−α/2, df) and the margin of error.
- Record assumptions (random sample, approximate normality or large n).
Tip: When a result matters, verify it twice: a unit check + a second method (graph/estimate).
Preview (first cells)
This preview is for readability. The full template loads into Notebook when you click Open.
TEXT
# Confidence Interval for a Mean (t-based) When σ is unknown, a common CI uses: **x̄ ± t* · s / √n** Where df = n−1 and t* = `tinv(1−α/2, df)`. Educational template only.
MATH
xbar = 72.4
MATH
s = 8.3
MATH
n = 25
MATH
conf = 0.95
MATH
alpha = 1 - conf