Probability & Statistics

Uncertainty, data and reliability: describing data, the rules of probability, Bayes’ theorem, binomial, Poisson, normal and exponential models, sampling and the central limit theorem, confidence intervals, hypothesis tests, regression and system reliability, with six labs. Free, self-paced, and tied to USGS flood and earthquake probabilities, NOAA hurricane outlooks and the Mauna Loa CO₂ record.

NASA/Ben Smegelsky (KSC-20240124-PH-JBS01_0071)NASA Blue MarbleNASA (ISS066-E-080762, Nov. 8, 2021)NASA/Kim Shiflett (KSC-20210927-PH-KLS04_0013, Sept. 27, 2021)

Courses › MATH 350

Download the PDF study guide

About this course

This is a free self-study course outline written by Saving Planets. It is not a university course, it carries no academic credit, and no school is involved.

Its scope follows a one-semester junior probability and statistics course for engineers. It is modeled on the topics and depth of MIT 18.05 Introduction to Probability and Statistics and MIT 6.041 Probabilistic Systems Analysis (free on MIT OpenCourseWare), using the free OpenStax Introductory Statistics text and the NIST/SEMATECH e-Handbook of Statistical Methods, which we link where they help. None of those authors, schools or agencies endorses this page.

What we add: every unit ties to real work with a cited public source (USGS flood and earthquake probabilities, NOAA hurricane outlooks and forecast cones, the Mauna Loa CO₂ record and NASA’s temperature analysis), every number on the page is re-computed by a checking script before it goes live, and every lab has a free simulation or a spreadsheet.

Work through it in order. Each unit has goals, key ideas, equations, step-by-step examples, practice with full answers, common mistakes, flashcards and a quiz. Your progress is saved only in this browser.

How this course helps save the planet

Protecting people and the planet is a question of odds: how likely a flood, earthquake or hurricane is, how sure we are that CO₂ is rising faster, and how reliable the systems that warn us are.

Statistics turns data into those odds and tells us how much to trust them. Each unit ends with a short, sourced section. Values that are not from a source are labeled as sample or textbook values.

Back to top

Before you start

Prerequisites

  • Calculus I and II: derivatives, integrals and series.
  • Linear Algebra: vectors and least squares (helpful for regression).
  • Intro Programming or spreadsheet skills: formulas, ranges and charts.
  • Numerical Methods (helpful, not required).

How to study

  • Write down the random variable and its units before computing anything.
  • Draw the distribution or a tree diagram first.
  • Check that probabilities lie between 0 and 1 and add up to 1.
  • State assumptions such as independence out loud; most errors start there.
  • Simulate when in doubt: a spreadsheet with RAND() can check almost any probability.
  • Do every practice problem on paper before opening the answer, and retake the quizzes a few days later.

Lab equipment (for the wet labs)

  • A computer or tablet for the free PhET Center and Variability, Plinko Probability and Least-Squares Regression simulations.
  • Spreadsheet software (any free one works) with RAND(), NORM.DIST and LINEST, or Python.
  • NOAA’s Mauna Loa CO₂ data file in a web browser.
  • A calculator; a pair of dice is optional.

Back to top

Suggested 15-week schedule

About 6 to 9 hours a week: reading, practice problems and, in lab weeks, the lab.

WeekUnitTopicsReading
1Describing Data: Center, Spread and PlotsDescribing data; Lab AOpenStax Intro Stats
2Probability Rules, Counting and IndependenceProbability rules and countingMIT 18.05
3Conditional Probability and Bayes’ TheoremConditional probability and BayesMIT 6.041
4Discrete Random Variables: Binomial and PoissonDiscrete variables and the binomial; Lab BMIT 18.05
5Discrete Random Variables: Binomial and PoissonPoisson and geometric modelsMIT 18.05
6Continuous Distributions: Normal, Exponential and ExtremesContinuous distributions; Lab CUSGS 100-year flood
7Sampling, Simulation and the Central Limit TheoremSampling and the CLT; Lab D; midterm practiceMIT 18.05
8Confidence IntervalsConfidence intervals for meansOpenStax Intro Stats
9Confidence IntervalsIntervals for proportions and sample sizeNOAA CPC
10Hypothesis Tests and p-ValuesHypothesis tests and p-valuesMIT 18.05
11Correlation and Linear RegressionCorrelation and regressionOpenStax Intro Stats
12Correlation and Linear RegressionResiduals and model checking; Lab ENOAA GML
13Reliability and RiskReliability and MTBFNIST e-Handbook
14Reliability and RiskSystem reliability; Lab FNIST e-Handbook
15Reliability and RiskRisk and review; final practiceNOAA CPC; USGS

Back to top

Your progress

Tick units and labs as you finish them, and take the quizzes. Progress and quiz scores are saved only in this browser, never sent to us.

Turn on JavaScript to track progress.

Back to top

Unit 1 · Week 1

Describing Data: Center, Spread and Plots

Types of data, histograms and box plots, mean and median, range, variance and standard deviation, quartiles and outliers, and why the sample standard deviation divides by n − 1.

Learning objectives

By the end of this unit you can:

  • Compute mean, median, range and sample standard deviation.
  • Choose between mean and median.
  • Read a histogram and box plot.
  • Flag outliers with the 1.5 IQR rule.

Key concepts

  • The mean x̄ = Σx/n is the balance point; the median is the middle value and resists outliers.
  • The sample variance s² = Σ(x − x̄)²/(n − 1) measures spread; s, its square root, has the data’s units. Dividing by n − 1 corrects for using x̄ instead of the true mean.
  • The range is max − min; the interquartile range IQR = Q3 − Q1 holds the middle half of the data.
  • Points more than 1.5 IQR beyond the quartiles are flagged as possible outliers: check them, do not just delete them.
  • Always plot first: a histogram or box plot shows skew, gaps and outliers that a single number hides.

Key equations

xˉ=1n∑xi\bar x=\frac1n\sum x_i
Sample mean
s2=1n−1∑(xi−xˉ)2s^2=\frac{1}{n-1}\sum(x_i-\bar x)^2
Sample variance
IQR=Q3−Q1IQR=Q_3-Q_1
Interquartile range
z=x−xˉsz=\frac{x-\bar x}{s}
Standard score

Worked examples, step by step

Example 1.1 NOAA’s Mauna Loa annual means give yearly CO₂ increases for 2021–2025 of 2.20, 2.12, 2.55, 3.53 and 2.74 ppm. Find the mean and median.

Show the steps
  1. Sum = 13.14; divide by 5.
  2. Sort: 2.12, 2.20, 2.55, 2.74, 3.53.

Answer: Mean 2.628 ppm/yr; median 2.55 ppm/yr.

Example 1.2 Find the range and sample standard deviation.

Show the steps
  1. Range = 3.53 − 2.12.
  2. s = √(Σ(x − 2.628)²/4).

Answer: Range 1.41 ppm/yr; s = 0.564 ppm/yr.

Example 1.3 Find the z-score of the 3.53 ppm increase (2024).

Show the steps
  1. z = (3.53 − 2.628)/0.564.

Answer: z = 1.60.

Practice problems

Work each on paper first, then check.

  1. Which is pulled more by the 3.53 value, mean or median?

    Show answer

    The mean (2.628 vs 2.55).

  2. Why divide by n − 1?

    Show answer

    The deviations from x̄ are slightly too small; n − 1 corrects the bias.

  3. Units of s for CO₂ increases?

    Show answer

    ppm per year.

  4. What does a long right tail do to mean vs median?

    Show answer

    Mean > median.

Common misconceptions

  • Myth: The mean is always typical.

    Actually: Skew or outliers can pull it away.

  • Myth: Outliers are mistakes.

    Actually: They may be real events; investigate.

  • Myth: Standard deviation can be negative.

    Actually: It is a square root, never negative.

Flashcards

  • Mean

    Σx/n.

  • Median

    Middle value.

  • Standard deviation

    √(Σ(x − x̄)²/(n − 1)).

  • IQR

    Q3 − Q1.

  • Outlier rule

    1.5 IQR beyond quartiles.

  • z-score

    (x − x̄)/s.

Self-check quiz

1. Resists outliers…

Show answer

median. Middle value.

2. Sample variance divides by…

Show answer

n − 1. Bias correction.

3. IQR is…

Show answer

Q3 − Q1. Middle half.

4. Plot data…

Show answer

first. See shape.

How this helps save the planet

NOAA reports that the Mauna Loa CO₂ record, begun by C. David Keeling of Scripps in March 1958, is the longest record of direct measurements of CO₂ in the atmosphere. NOAA’s annual means rose from 414.21 ppm in 2020 to 427.35 ppm in 2025.

This unit’s summary statistics turn that record into a rate: the five yearly increases average 2.628 ppm per year, with a standard deviation of 0.564 ppm per year from year-to-year variation.

On Saving Planets: Solutions · Earth Observation

Sources: NOAA Global Monitoring Laboratory: Trends in atmospheric CO₂ (Mauna Loa) · NOAA GML: Mauna Loa annual mean CO₂ data

Free learning resources

Back to top

Unit 2 · Week 2

Probability Rules, Counting and Independence

Sample spaces and events, the axioms, complements, addition and multiplication rules, independence, permutations and combinations, and “at least one” problems.

Learning objectives

By the end of this unit you can:

  • Apply the complement, addition and multiplication rules.
  • Test independence.
  • Count with permutations and combinations.
  • Solve “at least one” problems.

Key concepts

  • Probabilities lie between 0 and 1 and the whole sample space has probability 1. P(not A) = 1 − P(A).
  • Addition rule: P(A or B) = P(A) + P(B) − P(A and B).
  • A and B are independent if P(A and B) = P(A)P(B); then knowing one tells you nothing about the other.
  • For “at least one” in n independent trials, use the complement: 1 − (1 − p)ⁿ.
  • Combinations C(n, k) = n!/(k!(n − k)!) count unordered selections; permutations count ordered ones.

Key equations

P(Ac)=1−P(A)P(A^c)=1-P(A)
Complement
P(A∪B)=P(A)+P(B)−P(A∩B)P(A\cup B)=P(A)+P(B)-P(A\cap B)
Addition rule
P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)
Independence
P(≥1)=1−(1−p)nP(\ge1)=1-(1-p)^n
At least one

Worked examples, step by step

Example 2.1 A 100-year flood has a 1% chance each year. Find the chance of at least one in a 30-year mortgage.

Show the steps
  1. P(none) = 0.99³⁰ = 0.740.
  2. P(at least one) = 1 − 0.740.

Answer: 26.0%.

Example 2.2 Find the chance of at least one 100-year flood in 100 years.

Show the steps
  1. 1 − 0.99¹⁰⁰.

Answer: 63.4%, not 100%.

Example 2.3 Find the chance of at least one 50-year flood (2% a year) in 30 years.

Show the steps
  1. 1 − 0.98³⁰.

Answer: 45.5%.

Practice problems

Work each on paper first, then check.

  1. At least one 250-year flood (0.4% a year) in 30 years?

    Show answer

    1 − 0.996³⁰ = 11.3%.

  2. How many ways to choose 6 of 9 items?

    Show answer

    C(9, 6) = 84.

  3. Can two 100-year floods happen in back-to-back years?

    Show answer

    Yes: each year starts with the same 1% chance.

  4. Are yearly floods treated as independent here?

    Show answer

    Yes; the USGS notes a rare flood does not reduce the chance of another soon after.

Common misconceptions

  • Myth: A 100-year flood happens once every 100 years.

    Actually: It has a 1% chance every year.

  • Myth: After a flood, the next is less likely.

    Actually: Each year is independent.

  • Myth: P(A or B) = P(A) + P(B) always.

    Actually: Only if A and B cannot both happen.

Flashcards

  • Complement

    1 − P(A).

  • Addition rule

    Subtract the overlap.

  • Independence

    P(A∩B) = P(A)P(B).

  • At least one

    1 − (1 − p)ⁿ.

  • Combination

    n!/(k!(n − k)!).

  • AEP

    Annual exceedance probability.

Self-check quiz

1. P(at least one in n)…

Show answer

1 − (1 − p)ⁿ. Complement.

2. Independent means…

Show answer

P(A∩B) = P(A)P(B). Definition.

3. 100-year flood annual chance…

Show answer

1%. USGS.

4. C(n, k) counts…

Show answer

unordered choices. Combinations.

How this helps save the planet

The USGS explains that a “100-year flood” is a flood with a 1 percent chance of happening in any year, and that 100-year floods can happen two years in a row. Its table pairs each recurrence interval with an annual exceedance probability: 2 years with 50%, 10 years with 10%, 100 years with 1% and 500 years with 0.2%.

The USGS notes that in the 1960s the United States chose the 1-percent annual exceedance probability flood as the basis for the National Flood Insurance Program. This unit’s complement rule shows that a 30-year home in that zone has a 26% chance of seeing at least one such flood.

On Saving Planets: Oceans · Solutions

Sources: USGS Water Science School: The 100-Year Flood

Free learning resources

Back to top

Unit 3 · Week 3

Conditional Probability and Bayes’ Theorem

Conditional probability, the multiplication rule, tree diagrams, the law of total probability, Bayes’ theorem, base rates, and turning a 30-year probability into a yearly rate.

Learning objectives

By the end of this unit you can:

  • Compute conditional probabilities from a table or tree.
  • Apply the law of total probability.
  • Use Bayes’ theorem and explain base-rate effects.
  • Convert multi-year probabilities to annual rates.

Key concepts

  • P(A | B) = P(A and B)/P(B) is the probability of A once we know B happened.
  • The law of total probability adds the branches of a tree: P(A) = Σ P(A | Bᵢ)P(Bᵢ).
  • Bayes’ theorem reverses a condition: P(B | A) = P(A | B)P(B)/P(A).
  • Rare events give many false alarms: even a good test has a low positive predictive value when the base rate is small.
  • If events arrive at a constant rate λ, the chance of at least one in t years is 1 − e^(−λt), so λ = −ln(1 − P)/t.

Key equations

P(A∣B)=P(A∩B)P(B)P(A|B)=\frac{P(A\cap B)}{P(B)}
Conditional probability
P(A)=∑iP(A∣Bi)P(Bi)P(A)=\sum_i P(A|B_i)P(B_i)
Total probability
P(B∣A)=P(A∣B)P(B)P(A)P(B|A)=\frac{P(A|B)P(B)}{P(A)}
Bayes’ theorem
λ=−ln⁡(1−P)t\lambda=-\frac{\ln(1-P)}{t}
Rate from a t-year probability

Worked examples, step by step

Example 3.1 A sensor flags a fault 95% of the time when one exists and falsely 5% of the time otherwise; 2% of units have the fault (sample values). Find P(fault | flag).

Show the steps
  1. P(flag) = 0.95 × 0.02 + 0.05 × 0.98 = 0.068.
  2. Bayes: 0.019/0.068.

Answer: 27.9%: most flags are false alarms.

Example 3.2 USGS gives a 72% chance of at least one M ≥ 6.7 earthquake in the San Francisco Bay region in 30 years. Find the yearly rate, assuming a constant rate.

Show the steps
  1. λ = −ln(0.28)/30.

Answer: λ = 0.0424 per year.

Example 3.3 Find the chance of at least one such earthquake in a single year.

Show the steps
  1. 1 − e^(−0.0424).

Answer: 4.15% per year.

Practice problems

Work each on paper first, then check.

  1. Chance of one in the next 10 years at that rate?

    Show answer

    1 − e^(−0.424) = 34.6%.

  2. Yearly rate for the Los Angeles region’s 60% in 30 years?

    Show answer

    −ln(0.4)/30 = 0.0305 per year.

  3. Why is P(fault | flag) so low?

    Show answer

    The base rate (2%) is small.

  4. Is P(A | B) equal to P(B | A)?

    Show answer

    Generally no.

Common misconceptions

  • Myth: P(A | B) = P(B | A).

    Actually: Bayes’ theorem relates them through base rates.

  • Myth: A 95% accurate test is right 95% of the time it fires.

    Actually: Not when the condition is rare.

  • Myth: A 30-year probability divides evenly by 30.

    Actually: Use the rate formula.

Flashcards

  • Conditional

    P(A∩B)/P(B).

  • Total probability

    Sum over branches.

  • Bayes

    P(A|B)P(B)/P(A).

  • Base rate

    Prior frequency.

  • Rate

    λ = −ln(1 − P)/t.

  • Tree diagram

    Branches multiply, paths add.

Self-check quiz

1. Bayes reverses…

Show answer

a condition. P(B|A) from P(A|B).

2. Low base rates cause…

Show answer

false alarms. Few true positives.

3. P(A|B) is…

Show answer

P(A∩B)/P(B). Definition.

4. Bay Area 30-year M ≥ 6.7 chance…

Show answer

72%. USGS.

How this helps save the planet

The USGS, using the Uniform California Earthquake Rupture Forecast 3, gives 30-year probabilities of 72% for a magnitude 6.7 earthquake in the San Francisco Bay region and 60% in the Los Angeles region. It also notes that around the world, the chance an earthquake is followed by a larger one nearby within a week is about 5%.

Turning those 30-year numbers into a yearly rate of about 4% is how engineers and emergency planners compare earthquake risk with other hazards.

On Saving Planets: Solutions · Earth Observation

Sources: USGS FAQ: What is the probability that an earthquake will occur in the Los Angeles area? In the San Francisco Bay area?

Free learning resources

Back to top

Unit 4 · Weeks 4–5

Discrete Random Variables: Binomial and Poisson

Random variables, probability mass functions, expected value and variance, the Bernoulli and binomial distributions, the Poisson distribution for rare events, and the geometric distribution.

Learning objectives

By the end of this unit you can:

  • Compute expected value and variance.
  • Apply the binomial distribution.
  • Apply the Poisson distribution to rare events.
  • Choose the right discrete model.

Key concepts

  • A random variable assigns a number to each outcome. Its expected value E[X] = Σx p(x) is the long-run average.
  • Var(X) = E[(X − μ)²]; the standard deviation is its square root.
  • Binomial: the number of successes in n independent trials with probability p. P(X = k) = C(n, k)pᵏ(1 − p)ⁿ⁻ᵏ, mean np, variance np(1 − p).
  • Poisson: counts of rare events at rate λ per interval. P(X = k) = e^(−λ)λᵏ/k!, mean and variance both λ.
  • Geometric: the number of trials until the first success, mean 1/p, which is where “recurrence interval” comes from.

Key equations

E[X]=∑x p(x)E[X]=\sum x\,p(x)
Expected value
P(X=k)=(nk)pk(1−p)n−kP(X=k)=\binom nk p^k(1-p)^{n-k}
Binomial
P(X=k)=e−λλkk!P(X=k)=\frac{e^{-\lambda}\lambda^k}{k!}
Poisson
E[T]=1/pE[T]=1/p
Geometric mean wait

Worked examples, step by step

Example 4.1 NOAA sizes its hurricane forecast cone so two-thirds of historical track errors fall inside. Over 9 independent forecasts, find the expected number inside and P(all 9 inside).

Show the steps
  1. E = 9 × 2/3.
  2. P = (2/3)⁹.

Answer: E = 6; P(all 9) = 2.60%.

Example 4.2 Find P(exactly 6 of 9 inside).

Show the steps
  1. C(9, 6)(2/3)⁶(1/3)³ = 84 × 0.0878 × 0.0370.

Answer: 27.3%.

Example 4.3 Model 100-year floods over 100 years as Poisson with λ = 1. Find P(none) and P(2 or more).

Show the steps
  1. P(0) = e⁻¹.
  2. P(≥2) = 1 − 2e⁻¹.

Answer: P(0) = 36.8%; P(≥2) = 26.4%.

Practice problems

Work each on paper first, then check.

  1. Standard deviation of the number inside the cone, n = 9?

    Show answer

    √(9 × 2/3 × 1/3) = 1.414.

  2. Mean wait for a 1%-per-year event (geometric)?

    Show answer

    1/0.01 = 100 years.

  3. Poisson P(at least one) with λ = 1?

    Show answer

    1 − e⁻¹ = 63.2%, close to the binomial 63.4%.

  4. When does Poisson approximate binomial well?

    Show answer

    Large n, small p.

Common misconceptions

  • Myth: Expected value is the most likely value.

    Actually: It is the long-run average.

  • Myth: Cone = where the storm’s impacts stay.

    Actually: It shows only the probable track of the center.

  • Myth: Poisson needs a fixed number of trials.

    Actually: It counts events in an interval.

Flashcards

  • Random variable

    A number per outcome.

  • E[X]

    Long-run average.

  • Binomial

    Successes in n trials.

  • Poisson

    Rare-event counts.

  • Geometric

    Trials to first success.

  • Variance

    E[(X − μ)²].

Self-check quiz

1. Binomial mean…

Show answer

np. Sum of Bernoullis.

2. Poisson mean and variance…

Show answer

both λ. Property.

3. NHC cone circles contain…

Show answer

two-thirds of errors. NOAA definition.

4. Geometric mean wait…

Show answer

1/p. Recurrence interval.

How this helps save the planet

NOAA’s National Hurricane Center builds its track forecast cone from circles sized so that two-thirds of historical official forecast errors over a 5-year sample fall inside. For 2026 in the Atlantic, based on 2021–2025 errors, the circle radius grows from 25 nautical miles at 12 hours to 95 at 72 hours and 200 at 120 hours.

So the center of a storm will be outside the cone about one time in three, a binomial fact worth knowing before deciding the cone means “safe” or “not safe.”

On Saving Planets: GOES-19 · Oceans

Sources: NOAA National Hurricane Center: Definition of the NHC Track Forecast Cone

Free learning resources

Back to top

Unit 5 · Week 6

Continuous Distributions: Normal, Exponential and Extremes

Probability density and cumulative distribution functions, the uniform, normal and exponential distributions, standardizing with z, the memoryless property, and return periods for extremes.

Learning objectives

By the end of this unit you can:

  • Use a PDF and CDF.
  • Find normal probabilities with z-scores.
  • Apply the exponential distribution to waiting times.
  • Relate return period and annual exceedance probability.

Key concepts

  • For a continuous variable, probabilities are areas under the density f(x); the CDF F(x) = P(X ≤ x).
  • The normal distribution is bell-shaped with mean μ and standard deviation σ. About 68%, 95% and 99.7% of values fall within 1, 2 and 3σ.
  • Standardize with z = (x − μ)/σ and read Φ(z) from a table or NORM.S.DIST.
  • Waiting times between events at constant rate λ are exponential: P(T > t) = e^(−λt), mean 1/λ. The process has no memory: past waiting does not change future odds.
  • Return period T and annual exceedance probability are reciprocals: a 0.2 AEP event has a 5-year return period.

Key equations

P(a<X<b)=∫abf(x) dxP(a<X<b)=\int_a^b f(x)\,dx
Probability as area
z=x−μσz=\frac{x-\mu}{\sigma}
Standardizing
P(T>t)=e−λtP(T>t)=e^{-\lambda t}
Exponential survival
T=1AEPT=\frac{1}{AEP}
Return period

Worked examples, step by step

Example 5.1 Find P(Z < 1) and the share within ±1σ of a normal.

Show the steps
  1. Φ(1) = 0.8413.
  2. Φ(1) − Φ(−1).

Answer: 0.8413; 68.3% within ±1σ.

Example 5.2 With the Bay Area rate λ = 0.0424 per year from Unit 3, find the mean and median wait for an M ≥ 6.7 earthquake.

Show the steps
  1. Mean = 1/λ.
  2. Median = ln 2/λ.

Answer: Mean 23.6 years; median 16.3 years.

Example 5.3 What return period matches a 0.2 annual exceedance probability, and a 0.002 one?

Show the steps
  1. T = 1/AEP.

Answer: 5 years and 500 years, matching the USGS table.

Practice problems

Work each on paper first, then check.

  1. P(Z < −1.5)?

    Show answer

    0.0668.

  2. Share within ±2σ?

    Show answer

    95.4%.

  3. Φ(1.96)?

    Show answer

    0.975.

  4. A quake has not happened for 20 years. Does the exponential model raise the odds next year?

    Show answer

    No: it is memoryless (real faults may differ).

Common misconceptions

  • Myth: P(X = x) > 0 for continuous X.

    Actually: Single points have probability 0.

  • Myth: All data are normal.

    Actually: Check with a plot; extremes are often skewed.

  • Myth: Memoryless means events are scheduled.

    Actually: It means the opposite.

Flashcards

  • PDF

    Density; area = probability.

  • CDF

    P(X ≤ x).

  • Normal

    Bell curve, μ and σ.

  • z

    (x − μ)/σ.

  • Exponential

    Memoryless waiting time.

  • Return period

    1/AEP.

Self-check quiz

1. Within ±2σ of a normal…

Show answer

about 95%. Empirical rule.

2. Exponential mean…

Show answer

1/λ. Property.

3. Return period of 1% AEP…

Show answer

100 years. Reciprocal.

4. Φ(1) is…

Show answer

0.8413. Table.

How this helps save the planet

The USGS says recurrence intervals come from frequency analysis of historical data, that ten or more years of data are needed, and that an analysis based on 30 years of record earns more confidence than one based on 10. It defines a 1,000-year flood as one with a 0.1% chance in any given year.

Because flood levels are estimated from past data, the USGS notes the 100-year flood level changes as new floods are recorded or as dams and development alter a basin, so the distribution behind a flood map is an estimate, not a fixed fact.

On Saving Planets: Oceans · Calculus II

Sources: USGS Water Science School: The 100-Year Flood

Free learning resources

Back to top

Unit 6 · Week 7

Sampling, Simulation and the Central Limit Theorem

Populations and samples, bias and random sampling, the sampling distribution of the mean, standard error, the central limit theorem, the law of large numbers, and Monte Carlo simulation.

Learning objectives

By the end of this unit you can:

  • Distinguish population and sample quantities.
  • Compute a standard error.
  • State and apply the central limit theorem.
  • Estimate a probability by Monte Carlo simulation.

Key concepts

  • A statistic computed from a sample varies from sample to sample; its distribution is the sampling distribution.
  • The standard error of the mean is σ/√n: four times the data halves it.
  • Central limit theorem: for large n, the sample mean is approximately normal whatever the shape of the data.
  • Law of large numbers: sample averages and frequencies settle toward their true values as n grows.
  • Monte Carlo simulation repeats a random experiment many times on a computer; its error also falls like 1/√n.

Key equations

SE=σnSE=\frac{\sigma}{\sqrt n}
Standard error
Xˉ≈N ⁣(μ,σ2n)\bar X\approx N\!\left(\mu,\frac{\sigma^2}{n}\right)
Central limit theorem
p^=#hitsN\hat p=\frac{\#\text{hits}}{N}
Monte Carlo estimate
SEp^=p(1−p)NSE_{\hat p}=\sqrt{\frac{p(1-p)}{N}}
Proportion standard error

Worked examples, step by step

Example 6.1 Measurements have σ = 10 (sample value). Find the standard error of the mean of 25.

Show the steps
  1. 10/√25.

Answer: SE = 2.

Example 6.2 A fair die has mean 3.5 and σ = 1.708. Find the standard error of the average of 25 rolls.

Show the steps
  1. 1.708/5.

Answer: SE = 0.342.

Example 6.3 How many Monte Carlo runs estimate a probability near 0.5 to ±0.05 (95%)?

Show the steps
  1. n = 1.96² × 0.25/0.05².

Answer: About 384 runs.

Practice problems

Work each on paper first, then check.

  1. SE of a die average over 100 rolls?

    Show answer

    0.171.

  2. Double the sample size. SE?

    Show answer

    Divided by √2.

  3. Does the CLT make the data normal?

    Show answer

    No, only the sample mean.

  4. 95% margin for the σ = 10, n = 25 mean?

    Show answer

    1.96 × 2 = 3.92.

Common misconceptions

  • Myth: A big sample fixes bias.

    Actually: It reduces random error only.

  • Myth: n = 30 always suffices.

    Actually: Skewed data may need more.

  • Myth: Simulation is exact.

    Actually: It has its own sampling error.

Flashcards

  • Population

    The whole group.

  • Sample

    The part measured.

  • Standard error

    σ/√n.

  • CLT

    Means become normal.

  • Law of large numbers

    Averages settle.

  • Monte Carlo

    Repeat random trials.

Self-check quiz

1. SE of the mean…

Show answer

σ/√n. Formula.

2. CLT is about…

Show answer

the sample mean. Sampling distribution.

3. Monte Carlo error falls like…

Show answer

1/√n. SE.

4. Random sampling prevents…

Show answer

selection bias. Design.

How this helps save the planet

NASA’s GISS Surface Temperature Analysis (GISTEMP v4) estimates global surface temperature change from NOAA station and ocean data and is updated about the 10th of every month. NASA also publishes a 2024 uncertainty ensemble for it.

An uncertainty ensemble is this unit’s Monte Carlo idea at planetary scale: many plausible versions of the record, whose spread shows how sure we are of each year’s value.

On Saving Planets: Earth Observation · Solutions

Sources: NASA GISS: GISS Surface Temperature Analysis (GISTEMP v4)

Free learning resources

Back to top

Unit 7 · Weeks 8–9

Confidence Intervals

Point and interval estimates, z and t intervals for a mean, intervals for a proportion, margin of error and sample size, and what a confidence level does and does not mean.

Learning objectives

By the end of this unit you can:

  • Build a t interval for a mean.
  • Build an interval for a proportion.
  • Choose a sample size for a target margin.
  • Interpret a confidence level correctly.

Key concepts

  • A confidence interval is estimate ± critical value × standard error.
  • With σ unknown and small n, use Student’s t with n − 1 degrees of freedom; t has fatter tails than z.
  • For a proportion, p̂ ± z√(p̂(1 − p̂)/n).
  • A 95% level means 95% of intervals built this way would contain the true value; it is not a 95% chance for one computed interval.
  • Halving the margin needs four times the sample size.

Key equations

xˉ±tn−1sn\bar x\pm t_{n-1}\frac{s}{\sqrt n}
t interval
p^±zp^(1−p^)n\hat p\pm z\sqrt{\frac{\hat p(1-\hat p)}{n}}
Proportion interval
n=z2p(1−p)E2n=\frac{z^2p(1-p)}{E^2}
Sample size
E=zσnE=z\frac{\sigma}{\sqrt n}
Margin of error

Worked examples, step by step

Example 7.1 Build a 95% interval for the mean yearly CO₂ increase from Unit 1 (x̄ = 2.628, s = 0.564, n = 5, t = 2.776).

Show the steps
  1. Margin = 2.776 × 0.564/√5.

Answer: 2.628 ± 0.700: from 1.93 to 3.33 ppm/yr.

Example 7.2 NOAA says 22 of the 31 Atlantic seasons since 1995 were above normal. Give a 95% interval for that proportion.

Show the steps
  1. p̂ = 0.710; SE = √(0.710 × 0.290/31).

Answer: 0.710 ± 0.160: from 0.55 to 0.87.

Example 7.3 How large a sample gives a ±0.05 margin for a proportion near 0.5?

Show the steps
  1. 1.96² × 0.25/0.05².

Answer: About 385 (384.2, rounded up).

Practice problems

Work each on paper first, then check.

  1. Why t instead of z for n = 5?

    Show answer

    σ is estimated from few points.

  2. Effect of 99% instead of 95%?

    Show answer

    Wider interval.

  3. Does NOAA’s 70% range for named storms mean 70% of storms?

    Show answer

    No: the season total falls in the range in 7 of 10 similar seasons.

  4. Margin for the proportion with n = 124?

    Show answer

    About half (0.080).

Common misconceptions

  • Myth: 95% chance the true value is in this interval.

    Actually: The procedure captures it 95% of the time.

  • Myth: Wider is worse.

    Actually: Wider is honest when data are few.

  • Myth: Intervals fix bias.

    Actually: They describe random error only.

Flashcards

  • Confidence interval

    Estimate ± margin.

  • t distribution

    Fatter tails, n − 1 df.

  • Margin of error

    Critical value × SE.

  • Confidence level

    Long-run capture rate.

  • Proportion interval

    p̂ ± z√(p̂(1−p̂)/n).

  • Sample size

    z²p(1−p)/E².

Self-check quiz

1. Small n, σ unknown: use…

Show answer

t. Student.

2. Halve the margin…

Show answer

4× the data. √n.

3. NOAA likely ranges hold in…

Show answer

7 of 10 similar seasons. CPC.

4. CI = estimate ± …

Show answer

critical value × SE. Structure.

How this helps save the planet

NOAA’s Climate Prediction Center outlook for 2026, updated August 6, gives a 75% chance of a below-normal Atlantic season, 20% near-normal and 5% above-normal, and a 70% probability for each range, including 7–13 named storms and 2–6 hurricanes.

NOAA explains that the season is expected to fall within these ranges in 7 out of 10 seasons with similar conditions, which is exactly how a 70% interval should be read. It also stresses that it only takes one hurricane to cause a disaster.

On Saving Planets: GOES-19 · Oceans

Sources: NOAA Climate Prediction Center: Atlantic Hurricane Outlook (updated Aug. 6, 2026)

Free learning resources

Back to top

Unit 8 · Week 10

Hypothesis Tests and p-Values

Null and alternative hypotheses, test statistics, p-values, one- and two-sided tests, t tests and proportion tests, Type I and Type II errors, power, and statistical versus practical significance.

Learning objectives

By the end of this unit you can:

  • Set up null and alternative hypotheses.
  • Run a one-sample t test and a proportion test.
  • Interpret a p-value.
  • Explain Type I and Type II errors and power.

Key concepts

  • A test asks whether data are surprising if the null hypothesis H₀ were true.
  • The p-value is the probability, under H₀, of a result at least as extreme as the one seen. Small p is evidence against H₀; it is not the probability H₀ is true.
  • A Type I error rejects a true H₀ (rate α); a Type II error misses a false H₀ (rate β). Power = 1 − β.
  • More data raise power; a tiny, unimportant effect can be “significant” with enough data.
  • Decide α and the test before looking at the data.

Key equations

t=xˉ−μ0s/nt=\frac{\bar x-\mu_0}{s/\sqrt n}
t statistic
z=p^−p0p0(1−p0)/nz=\frac{\hat p-p_0}{\sqrt{p_0(1-p_0)/n}}
Proportion z
power=1−β\text{power}=1-\beta
Power
p=P(as extreme∣H0)p=P(\text{as extreme}\mid H_0)
p-value

Worked examples, step by step

Example 8.1 Test H₀: μ = 2 ppm/yr against μ > 2 for the five CO₂ increases (x̄ = 2.628, s = 0.564).

Show the steps
  1. t = (2.628 − 2)/(0.564/√5).

Answer: t = 2.49 with 4 df, above the one-sided 5% cutoff of 2.132: reject H₀.

Example 8.2 If each Atlantic season had a 1/3 chance of being above normal, how many of 31 would we expect?

Show the steps
  1. 31/3.

Answer: About 10.3; NOAA reports 22.

Example 8.3 Find the exact binomial P(22 or more of 31) under p = 1/3.

Show the steps
  1. Sum C(31, k)(1/3)ᵏ(2/3)³¹⁻ᵏ for k ≥ 22.

Answer: p ≈ 2.06 × 10⁻⁵: strong evidence the high-activity era is real.

Practice problems

Work each on paper first, then check.

  1. Proportion z for 22 of 31 vs p₀ = 1/3?

    Show answer

    z = 4.45.

  2. Is p = 0.03 the chance H₀ is true?

    Show answer

    No.

  3. Type I error in a flood-warning test?

    Show answer

    A false alarm.

  4. How do you raise power?

    Show answer

    More data, larger effect, or larger α.

Common misconceptions

  • Myth: p > 0.05 proves H₀.

    Actually: It only fails to reject.

  • Myth: Significant means important.

    Actually: Check the effect size.

  • Myth: Test many things, report the winner.

    Actually: That inflates false positives.

Flashcards

  • H₀

    Null hypothesis.

  • p-value

    Surprise under H₀.

  • α

    Type I rate.

  • β

    Type II rate.

  • Power

    1 − β.

  • Effect size

    How big, not just whether.

Self-check quiz

1. p-value is…

Show answer

P(data this extreme | H₀). Definition.

2. Type I error…

Show answer

reject true H₀. False alarm.

3. Power is…

Show answer

1 − β. Detect a real effect.

4. More data…

Show answer

raise power. Smaller SE.

How this helps save the planet

NOAA’s Climate Prediction Center reports that since the current Atlantic high-activity era began in 1995, 22 of 31 seasons (71%) were above normal, 5 (16%) near normal and 4 (13%) below normal.

NOAA also notes that every hurricane season coinciding with a strong El Niño since 1950 has had below-normal activity. Testing claims like these against chance is how forecasters decide which signals belong in an outlook.

On Saving Planets: GOES-19 · Solutions

Sources: NOAA Climate Prediction Center: Atlantic Hurricane Outlook (updated Aug. 6, 2026)

Free learning resources

Back to top

Unit 9 · Weeks 11–12

Correlation and Linear Regression

Scatter plots, correlation r, least-squares regression, slope interpretation, R², residuals, prediction versus extrapolation, and correlation versus causation.

Learning objectives

By the end of this unit you can:

  • Compute and interpret r and R².
  • Fit and interpret a least-squares line.
  • Use residual plots to check a model.
  • Separate correlation from causation.

Key concepts

  • Correlation r measures linear association from −1 to 1; it has no units.
  • The least-squares line ŷ = b₀ + b₁x has slope b₁ = Sxy/Sxx and passes through (x̄, ȳ).
  • R² = r² is the share of variation in y explained by the line.
  • Residual plots reveal curvature or changing spread that r hides.
  • Correlation is not causation; physical mechanisms and designed studies are needed for that. Extrapolation beyond the data is risky.

Key equations

b1=SxySxxb_1=\frac{S_{xy}}{S_{xx}}
Slope
b0=yˉ−b1xˉb_0=\bar y-b_1\bar x
Intercept
r=SxySxxSyyr=\frac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}
Correlation
R2=r2R^2=r^2
Explained share

Worked examples, step by step

Example 9.1 Fit a line to NOAA’s Mauna Loa decade means 1960–2020 (316.91, 325.68, 338.76, 354.45, 369.71, 390.10, 414.21 ppm), with x in years since 1960.

Show the steps
  1. x̄ = 30, ȳ = 358.55.
  2. b₁ = Sxy/Sxx.

Answer: ŷ = 310.15 + 1.613x ppm.

Example 9.2 Find r and R².

Show the steps
  1. r = Sxy/√(SxxSyy).

Answer: r = 0.990; R² = 0.979.

Example 9.3 Do the residuals support a straight line?

Show the steps
  1. Residuals are positive at both ends and negative in the middle.

Answer: No: the curve bends upward, so growth is accelerating despite R² = 0.979.

Practice problems

Work each on paper first, then check.

  1. Units of the slope?

    Show answer

    ppm per year.

  2. Line prediction for 2025 (x = 65)?

    Show answer

    415.0 ppm vs NOAA’s 427.35.

  3. Does r = 0.99 prove the line is right?

    Show answer

    No; check the residuals.

  4. Does a time trend alone prove its cause?

    Show answer

    No; the cause comes from physics and other evidence.

Common misconceptions

  • Myth: High r means a good model.

    Actually: Curvature can hide behind high r.

  • Myth: r has units.

    Actually: It is unitless.

  • Myth: Extrapolating is safe if R² is high.

    Actually: Not outside the data range.

Flashcards

  • Correlation

    −1 to 1, unitless.

  • Slope

    Sxy/Sxx.

  • R²

    Share explained.

  • Residual

    y − ŷ.

  • Extrapolation

    Predicting outside the data.

  • Causation

    Needs mechanism or design.

Self-check quiz

1. R² is…

Show answer

share of variation explained. Definition.

2. The line passes through…

Show answer

(x̄, ȳ). Property.

3. Curved residuals mean…

Show answer

wrong model form. Pattern.

4. Correlation shows…

Show answer

association. Caution.

How this helps save the planet

NOAA notes that the Mauna Loa data are taken at an altitude of 3400 m and may differ from the global average, and that during the 2022 Mauna Loa eruption measurements moved to Maunakea, about 21 miles north, until July 2023.

Knowing where and how data were collected is part of regression too: a fit is only as good as the record behind it, and NOAA documents its gaps and site changes openly.

On Saving Planets: Solutions · Linear Algebra

Sources: NOAA Global Monitoring Laboratory: Trends in atmospheric CO₂ (Mauna Loa)

Free learning resources

Back to top

Unit 10 · Weeks 13–15

Reliability and Risk

Reliability functions, failure rates and MTBF, series and parallel systems, redundancy, the exponential and Weibull life models, and combining probability with consequences into risk.

Learning objectives

By the end of this unit you can:

  • Compute reliability of series and parallel systems.
  • Use the exponential life model with MTBF.
  • Explain the bathtub curve and Weibull shapes.
  • Combine likelihood and consequence into risk.

Key concepts

  • Reliability R(t) is the probability a part survives to time t. With constant failure rate λ, R(t) = e^(−λt) and MTBF = 1/λ.
  • Series systems need every part: R = R₁R₂…Rₙ, always worse than the weakest part.
  • Parallel (redundant) systems need only one: R = 1 − (1 − R₁)(1 − R₂)….
  • The Weibull model covers early failures (shape < 1), random failures (shape = 1, exponential) and wear-out (shape > 1), the three parts of the bathtub curve.
  • Risk combines probability and consequence; redundancy and warnings reduce it, but only if failures are independent.

Key equations

R(t)=e−λt, MTBF=1/λR(t)=e^{-\lambda t},\ MTBF=1/\lambda
Exponential reliability
Rs=∏RiR_s=\prod R_i
Series system
Rp=1−∏(1−Ri)R_p=1-\prod(1-R_i)
Parallel system
R(t)=e−(t/η)βR(t)=e^{-(t/\eta)^\beta}
Weibull

Worked examples, step by step

Example 10.1 Three parts in series each have R = 0.99 (sample values). Find the system reliability.

Show the steps
  1. 0.99³.

Answer: R = 0.9703.

Example 10.2 Two redundant pumps each have R = 0.9. Find the system reliability.

Show the steps
  1. 1 − 0.1².

Answer: R = 0.99.

Example 10.3 A sensor has MTBF 50,000 h. Find its reliability over a 1000-hour mission.

Show the steps
  1. e^(−1000/50,000).

Answer: R = 0.980.

Practice problems

Work each on paper first, then check.

  1. Three redundant units of 0.9?

    Show answer

    1 − 0.1³ = 0.999.

  2. A 0.9 part in series with a redundant pair of 0.9?

    Show answer

    0.9 × 0.99 = 0.891.

  3. Reliability over a year (8760 h) at MTBF 100,000 h?

    Show answer

    e^(−0.0876) = 0.916.

  4. Two 0.95 units in parallel?

    Show answer

    0.9975.

Common misconceptions

  • Myth: Redundancy always helps.

    Actually: Not against common-cause failures.

  • Myth: MTBF is how long every unit lasts.

    Actually: It is an average; many fail sooner.

  • Myth: A series system is as reliable as its best part.

    Actually: It is worse than its weakest.

Flashcards

  • Reliability

    P(survive to t).

  • MTBF

    1/λ.

  • Series

    Multiply R.

  • Parallel

    1 − Π(1 − R).

  • Weibull

    Bathtub shapes.

  • Risk

    Probability × consequence.

Self-check quiz

1. Series reliability…

Show answer

product. All must work.

2. Exponential MTBF…

Show answer

1/λ. Mean life.

3. Weibull shape > 1 means…

Show answer

wear-out. Rising hazard.

4. Redundancy fails against…

Show answer

common causes. Shared failure.

How this helps save the planet

NOAA’s 2026 hurricane outlook reminds residents, businesses and governments that hurricane-related disasters can occur in any season, even one with low activity, and that coastal communities should prepare every year regardless of the outlook.

That is reliability thinking: a low probability is not zero, so warning systems, backups and plans are designed to work in the rare bad year, not just the average one.

On Saving Planets: GOES-19 · Solutions

Sources: NOAA Climate Prediction Center: Atlantic Hurricane Outlook (updated Aug. 6, 2026)

Free learning resources

Back to top

The lab (Statistics lab)

The lab is the hands-on part of the course. Here it is free and for practice only, with no credit.

Every lab runs in a free simulation or a spreadsheet, so there are no physical hazards. Take screen breaks, sit with good posture, and keep cables out of walkways.

Safety reference: OSHA: Walking-working surfaces (slip, trip and fall hazards)

Lab A: Center and spread of the CO₂ record

Week 1

Goal: Explore mean, median and spread in PhET Center and Variability, then summarize NOAA’s recent yearly CO₂ increases.

s=∑(x−xˉ)2n−1s=\sqrt{\frac{\sum(x-\bar x)^2}{n-1}}
Sample standard deviation

Procedure

  1. In PhET Center and Variability, drag values and watch the mean and median move.
  2. Open NOAA’s Mauna Loa annual means and compute the yearly increases for 2021–2025.
  3. Compute mean, median, range and s.
  4. Make a dot plot and describe the 2024 value.

Data table

StatisticValue (ppm/yr)
Mean2.628
Median2.55
Range1.41
Standard deviation0.564

Data from NOAA GML; statistics computed.

Sample calculation

  1. Increases: 2.20, 2.12, 2.55, 3.53, 2.74.
  2. s = √(1.2735/4) = 0.564.

Safety

  • Computer only.

Home or virtual alternative

  • Any spreadsheet works.

PhET: Center and Variability · NOAA GML: Mauna Loa annual mean CO₂ data

Planet link: NOAA’s Mauna Loa monthly mean was 426.07 ppm in September 2026. NOAA Global Monitoring Laboratory: Trends in atmospheric CO₂ (Mauna Loa)

Lab B: Plinko and the binomial distribution

Week 4

Goal: Drop balls in PhET Plinko Probability and compare the histogram with the binomial model.

μ=np, σ=np(1−p)\mu=np,\ \sigma=\sqrt{np(1-p)}
Binomial mean and spread

Procedure

  1. Set 12 rows and p = 0.5.
  2. Drop 1000 balls and record the mean and standard deviation.
  3. Compute the binomial values.
  4. Change p to 0.7 and predict the new mean before dropping.

Data table

QuantityBinomial value
Mean bin6
Standard deviation1.732
P(bin 6)0.2256

Computed values; your simulation should come close.

Sample calculation

  1. σ = √(12 × 0.25) = 1.732.
  2. P(6) = C(12, 6)/2¹² = 924/4096 = 0.2256.

Safety

  • Computer only.

Home or virtual alternative

  • Any browser works.

PhET: Plinko Probability

Planet link: NOAA sizes its hurricane cone so two-thirds of past track errors fall inside. NOAA National Hurricane Center: Definition of the NHC Track Forecast Cone

Lab C: Simulating 100-year floods

Week 6

Goal: Use a spreadsheet Monte Carlo to estimate the chance of at least one 1%-per-year flood in 30 years.

P=1−0.9930P=1-0.99^{30}
Exact answer

Procedure

  1. Make 30 columns of =RAND()<0.01 (one per year).
  2. In each row, test whether any year flooded.
  3. Copy to 1000 rows and average the result.
  4. Compare with the exact answer and the expected Monte Carlo error.

Data table

QuantityValue
Exact probability0.260
Monte Carlo SE, N = 10000.0139
Expected range (±2 SE)0.232 to 0.288

Computed values; your estimate will vary each recalculation.

Sample calculation

  1. SE = √(0.26 × 0.74/1000) = 0.0139.
  2. 0.260 ± 0.0278.

Safety

  • Computer only.

Home or virtual alternative

  • Any spreadsheet works.

MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022)

Planet link: The USGS stresses that 100-year floods can happen two years in a row. USGS Water Science School: The 100-Year Flood

Lab D: Dice and the central limit theorem

Week 7

Goal: Average simulated (or real) dice rolls and watch the distribution of averages become normal.

SE=σnSE=\frac{\sigma}{\sqrt n}
Standard error

Procedure

  1. Simulate rolls with =RANDBETWEEN(1,6).
  2. Average groups of 1, 5, 25 and 100 rolls, 500 times each.
  3. Plot histograms and compute their standard deviations.
  4. Compare with σ/√n.

Data table

Rolls per averagePredicted SE
11.708
250.342
1000.171

Computed values; a die has mean 3.5 and σ = √(35/12).

Sample calculation

  1. σ = √(35/12) = 1.708.
  2. SE(25) = 1.708/5 = 0.342.

Safety

  • Computer only.

Home or virtual alternative

  • Real dice work too.

PhET: Plinko Probability

Planet link: NASA publishes an uncertainty ensemble for its GISTEMP temperature record. NASA GISS: GISS Surface Temperature Analysis (GISTEMP v4)

Lab E: Regression and residuals

Week 12

Goal: Fit a line in PhET Least-Squares Regression, then fit NOAA’s Mauna Loa decade means and study the residuals.

y^=b0+b1x\hat y=b_0+b_1x
Least-squares line

Procedure

  1. In PhET, place points and compare your line with the best fit.
  2. Enter the 1960–2020 decade means with x = years since 1960.
  3. Use LINEST or a trendline to get b₀, b₁ and r.
  4. Plot the residuals and describe the pattern.

Data table

QuantityValue
Slope1.613 ppm/yr
Intercept310.15 ppm
r0.990
Residuals 1960 / 2000 / 2020+6.76 / −4.97 / +7.27 ppm

Data from NOAA GML; fit computed. The U-shaped residuals show upward curvature.

Sample calculation

  1. b₁ = Sxy/Sxx = 1.613.
  2. Residual 2020 = 414.21 − (310.15 + 1.613 × 60) = 7.27.

Safety

  • Computer only.

Home or virtual alternative

  • Any spreadsheet works.

PhET: Least-Squares Regression · NOAA GML: Mauna Loa annual mean CO₂ data

Planet link: NOAA notes Mauna Loa samples air at 3400 m, which may differ from the global average. NOAA Global Monitoring Laboratory: Trends in atmospheric CO₂ (Mauna Loa)

Lab F: Reliability of a warning system

Week 14

Goal: Build a spreadsheet for series and parallel reliability and test how redundancy changes a sample flood-warning chain.

Rs=∏Ri, Rp=1−∏(1−Ri)R_s=\prod R_i,\ R_p=1-\prod(1-R_i)
System reliability

Procedure

  1. Model a sample chain: sensor, radio link and siren in series.
  2. Compute R with each at 0.99, then with a redundant siren pair.
  3. Use e^(−t/MTBF) for a 1000 h mission at 50,000 h MTBF.
  4. Find which single upgrade helps most.

Data table

ConfigurationReliability
Three parts in series (0.99 each)0.9703
Two redundant units (0.9 each)0.99
0.9 part + redundant 0.9 pair0.891
1000 h at MTBF 50,000 h0.980

Sample values; computed.

Sample calculation

  1. 0.99³ = 0.9703.
  2. 0.9 × (1 − 0.1²) = 0.891.

Safety

  • Computer only.

Home or virtual alternative

  • Any spreadsheet works.

NIST/SEMATECH e-Handbook of Statistical Methods

Planet link: NOAA says disasters can occur even in low-activity hurricane seasons, so prepare every year. NOAA Climate Prediction Center: Atlantic Hurricane Outlook (updated Aug. 6, 2026)

Back to top

Exam prep practice sets

Time yourself: about 10 minutes per problem. Then compare with the full solutions.

Midterm practice set (Units 1–5)

  1. Find the mean, median and sample standard deviation of 4, 8, 6, 10, 12.

    Show full solution
    1. Mean = 40/5.
    2. s = √(40/4).

    Answer: Mean 8, median 8, s = 3.16.

  2. Find the chance of at least one 25-year flood (4% a year) in 10 years.

    Show full solution
    1. 1 − 0.96¹⁰.

    Answer: 33.5%.

  3. A test detects a condition 90% of the time and false-alarms 10%; the base rate is 1%. Find P(condition | positive).

    Show full solution
    1. 0.009/(0.009 + 0.099).

    Answer: 8.33%.

  4. Find P(X = 0) for a binomial with n = 5, p = 0.2.

    Show full solution
    1. 0.8⁵.

    Answer: 0.328.

  5. Find P(X = 0) for a Poisson with λ = 2.

    Show full solution
    1. e⁻².

    Answer: 0.135.

Final practice set (all units)

  1. Find P(Z > 1.96).

    Show full solution
    1. 1 − 0.975.

    Answer: 0.025.

  2. Find the standard error for σ = 6, n = 36.

    Show full solution
    1. 6/6.

    Answer: 1.

  3. Build a 95% interval for x̄ = 50, s = 4, n = 16 (t = 2.131).

    Show full solution
    1. 2.131 × 4/4.

    Answer: 50 ± 2.13.

  4. Test H₀: μ = 50 with x̄ = 52, s = 4, n = 16.

    Show full solution
    1. t = 2/(4/4).

    Answer: t = 2.0, just below 2.131: do not reject at 5% (two-sided).

  5. Find the reliability of four 0.95 parts in series.

    Show full solution
    1. 0.95⁴.

    Answer: 0.815.

  6. A part has MTBF 2000 h. Find P(it survives 500 h).

    Show full solution
    1. e^(−0.25).

    Answer: 0.779.

Back to top

Formula sheet

xˉ=∑x/n, s2=∑(x−xˉ)2/(n−1)\bar x=\sum x/n,\ s^2=\sum(x-\bar x)^2/(n-1)
P(≥1)=1−(1−p)n, P(A∪B)=P(A)+P(B)−P(A∩B)P(\ge1)=1-(1-p)^n,\ P(A\cup B)=P(A)+P(B)-P(A\cap B)
P(B∣A)=P(A∣B)P(B)/P(A), λ=−ln⁡(1−P)/tP(B|A)=P(A|B)P(B)/P(A),\ \lambda=-\ln(1-P)/t
P(X=k)=(nk)pk(1−p)n−k, P(X=k)=e−λλk/k!P(X=k)=\binom nk p^k(1-p)^{n-k},\ P(X=k)=e^{-\lambda}\lambda^k/k!
z=(x−μ)/σ, P(T>t)=e−λt, T=1/AEPz=(x-\mu)/\sigma,\ P(T>t)=e^{-\lambda t},\ T=1/AEP
SE=σ/nSE=\sigma/\sqrt n
xˉ±t s/n, p^±zp^(1−p^)/n\bar x\pm t\,s/\sqrt n,\ \hat p\pm z\sqrt{\hat p(1-\hat p)/n}
t=(xˉ−μ0)/(s/n)t=(\bar x-\mu_0)/(s/\sqrt n)
b1=Sxy/Sxx, r=Sxy/SxxSyyb_1=S_{xy}/S_{xx},\ r=S_{xy}/\sqrt{S_{xx}S_{yy}}
Rs=∏Ri, Rp=1−∏(1−Ri), MTBF=1/λR_s=\prod R_i,\ R_p=1-\prod(1-R_i),\ MTBF=1/\lambda

Constants

ConstantValue
Standard normal (textbook values)Φ(1) = 0.8413, Φ(1.96) = 0.975, Φ(2) − Φ(−2) = 0.9545
Student t, 4 degrees of freedom (textbook value)t₀.₉₇₅ = 2.776
e2.718281828
68–95–99.7 ruleshare of a normal within 1, 2 and 3 standard deviations
1 ppmone part per million by mole fraction
Annual exceedance probability1/(recurrence interval)

Source: NIST/SEMATECH e-Handbook of Statistical Methods

Back to top

Free texts and simulations

Use these free lectures, textbooks, handbooks and simulations alongside the course.

Back to top

Glossary

Annual exceedance probability
Chance an event is equalled or exceeded in a year.
Bayes’ theorem
Reverses a conditional probability.
Binomial distribution
Successes in n independent trials.
Central limit theorem
Sample means become normal.
Conditional probability
Probability given that another event occurred.
Confidence interval
Range from a procedure that captures the truth at a set rate.
Correlation
Strength of linear association.
Expected value
Long-run average.
Exponential distribution
Memoryless waiting time.
Independence
One event does not change another’s probability.
MTBF
Mean time between failures.
Median
Middle value.
Monte Carlo
Estimating by repeated random simulation.
Normal distribution
Bell-shaped distribution.
Poisson distribution
Counts of rare events.
Recurrence interval
Average years between events of a given size.
Reliability
Probability of surviving to a given time.
Standard error
Standard deviation of a statistic.
Type I error
Rejecting a true null hypothesis.
p-value
Chance of data this extreme if H₀ holds.

Back to top

Self-assessment rubric

No grade or credit is given. Use this to judge honestly where you are in each unit.

LevelWhat it looks like
4 · MasteryNames the random variable, states assumptions, picks the right model, reports uncertainty and interprets results in plain words.
3 · ProficientSolves the practice problems with occasional slips in assumptions or units.
2 · DevelopingFollows worked examples but misreads p-values or confidence levels.
1 · BeginningPlugs numbers into formulas without checking assumptions; needs to revisit the unit.

Suggested weighting if you want a score

PartWeight
Practice problems20%
Labs25%
Midterm practice set25%
Final practice set30%

Aim for level 3 or better in every unit before moving to the next course.

Back to top

Help / Donate