Courses › MATH 350
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.
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.
Suggested 15-week schedule
About 6 to 9 hours a week: reading, practice problems and, in lab weeks, the lab.
| Week | Unit | Topics | Reading |
|---|---|---|---|
| 1 | Describing Data: Center, Spread and Plots | Describing data; Lab A | OpenStax Intro Stats |
| 2 | Probability Rules, Counting and Independence | Probability rules and counting | MIT 18.05 |
| 3 | Conditional Probability and Bayes’ Theorem | Conditional probability and Bayes | MIT 6.041 |
| 4 | Discrete Random Variables: Binomial and Poisson | Discrete variables and the binomial; Lab B | MIT 18.05 |
| 5 | Discrete Random Variables: Binomial and Poisson | Poisson and geometric models | MIT 18.05 |
| 6 | Continuous Distributions: Normal, Exponential and Extremes | Continuous distributions; Lab C | USGS 100-year flood |
| 7 | Sampling, Simulation and the Central Limit Theorem | Sampling and the CLT; Lab D; midterm practice | MIT 18.05 |
| 8 | Confidence Intervals | Confidence intervals for means | OpenStax Intro Stats |
| 9 | Confidence Intervals | Intervals for proportions and sample size | NOAA CPC |
| 10 | Hypothesis Tests and p-Values | Hypothesis tests and p-values | MIT 18.05 |
| 11 | Correlation and Linear Regression | Correlation and regression | OpenStax Intro Stats |
| 12 | Correlation and Linear Regression | Residuals and model checking; Lab E | NOAA GML |
| 13 | Reliability and Risk | Reliability and MTBF | NIST e-Handbook |
| 14 | Reliability and Risk | System reliability; Lab F | NIST e-Handbook |
| 15 | Reliability and Risk | Risk and review; final practice | NOAA CPC; USGS |
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.
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
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
- Sum = 13.14; divide by 5.
- 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
- Range = 3.53 − 2.12.
- 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
- z = (3.53 − 2.628)/0.564.
Answer: z = 1.60.
Practice problems
Work each on paper first, then check.
Which is pulled more by the 3.53 value, mean or median?
Show answer
The mean (2.628 vs 2.55).
Why divide by n − 1?
Show answer
The deviations from x̄ are slightly too small; n − 1 corrects the bias.
Units of s for CO₂ increases?
Show answer
ppm per year.
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
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
- OpenStax Introductory Statistics 2e: Free textbook.
- PhET: Center and Variability: Mean, median and spread interactively.
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
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
- P(none) = 0.99³⁰ = 0.740.
- 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 − 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 − 0.98³⁰.
Answer: 45.5%.
Practice problems
Work each on paper first, then check.
At least one 250-year flood (0.4% a year) in 30 years?
Show answer
1 − 0.996³⁰ = 11.3%.
How many ways to choose 6 of 9 items?
Show answer
C(9, 6) = 84.
Can two 100-year floods happen in back-to-back years?
Show answer
Yes: each year starts with the same 1% chance.
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
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.
Free learning resources
- MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022): Free MIT lectures.
- OpenStax Introductory Statistics 2e: Free textbook.
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
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
- P(flag) = 0.95 × 0.02 + 0.05 × 0.98 = 0.068.
- 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
- λ = −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 − e^(−0.0424).
Answer: 4.15% per year.
Practice problems
Work each on paper first, then check.
Chance of one in the next 10 years at that rate?
Show answer
1 − e^(−0.424) = 34.6%.
Yearly rate for the Los Angeles region’s 60% in 30 years?
Show answer
−ln(0.4)/30 = 0.0305 per year.
Why is P(fault | flag) so low?
Show answer
The base rate (2%) is small.
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
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
Free learning resources
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
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
- E = 9 × 2/3.
- P = (2/3)⁹.
Answer: E = 6; P(all 9) = 2.60%.
Example 4.2 Find P(exactly 6 of 9 inside).
Show the steps
- 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
- P(0) = e⁻¹.
- P(≥2) = 1 − 2e⁻¹.
Answer: P(0) = 36.8%; P(≥2) = 26.4%.
Practice problems
Work each on paper first, then check.
Standard deviation of the number inside the cone, n = 9?
Show answer
√(9 × 2/3 × 1/3) = 1.414.
Mean wait for a 1%-per-year event (geometric)?
Show answer
1/0.01 = 100 years.
Poisson P(at least one) with λ = 1?
Show answer
1 − e⁻¹ = 63.2%, close to the binomial 63.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
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
- MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022): Free MIT lectures.
- PhET: Plinko Probability: Binomial interactively.
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
Worked examples, step by step
Example 5.1 Find P(Z < 1) and the share within ±1σ of a normal.
Show the steps
- Φ(1) = 0.8413.
- Φ(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
- Mean = 1/λ.
- 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
- T = 1/AEP.
Answer: 5 years and 500 years, matching the USGS table.
Practice problems
Work each on paper first, then check.
P(Z < −1.5)?
Show answer
0.0668.
Share within ±2σ?
Show answer
95.4%.
Φ(1.96)?
Show answer
0.975.
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
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
Free learning resources
- OpenStax Introductory Statistics 2e: Free textbook.
- NIST/SEMATECH e-Handbook of Statistical Methods: Free handbook.
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
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
- 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.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
- n = 1.96² × 0.25/0.05².
Answer: About 384 runs.
Practice problems
Work each on paper first, then check.
SE of a die average over 100 rolls?
Show answer
0.171.
Double the sample size. SE?
Show answer
Divided by √2.
Does the CLT make the data normal?
Show answer
No, only the sample mean.
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
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
- MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022): Free MIT lectures.
- PhET: Plinko Probability: Watch sums become normal.
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
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
- 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
- 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.96² × 0.25/0.05².
Answer: About 385 (384.2, rounded up).
Practice problems
Work each on paper first, then check.
Why t instead of z for n = 5?
Show answer
σ is estimated from few points.
Effect of 99% instead of 95%?
Show answer
Wider interval.
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.
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
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
- OpenStax Introductory Statistics 2e: Free textbook.
- MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022): Free MIT lectures.
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
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
- 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
- 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
- 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.
Proportion z for 22 of 31 vs p₀ = 1/3?
Show answer
z = 4.45.
Is p = 0.03 the chance H₀ is true?
Show answer
No.
Type I error in a flood-warning test?
Show answer
A false alarm.
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
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
- MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022): Free MIT lectures.
- NIST/SEMATECH e-Handbook of Statistical Methods: Free handbook.
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
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
- x̄ = 30, ȳ = 358.55.
- b₁ = Sxy/Sxx.
Answer: ŷ = 310.15 + 1.613x ppm.
Example 9.2 Find r and R².
Show the steps
- r = Sxy/√(SxxSyy).
Answer: r = 0.990; R² = 0.979.
Example 9.3 Do the residuals support a straight line?
Show the steps
- 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.
Units of the slope?
Show answer
ppm per year.
Line prediction for 2025 (x = 65)?
Show answer
415.0 ppm vs NOAA’s 427.35.
Does r = 0.99 prove the line is right?
Show answer
No; check the residuals.
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
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
- PhET: Least-Squares Regression: Fit lines interactively.
- OpenStax Introductory Statistics 2e: Free textbook.
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
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
- 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 − 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
- e^(−1000/50,000).
Answer: R = 0.980.
Practice problems
Work each on paper first, then check.
Three redundant units of 0.9?
Show answer
1 − 0.1³ = 0.999.
A 0.9 part in series with a redundant pair of 0.9?
Show answer
0.9 × 0.99 = 0.891.
Reliability over a year (8760 h) at MTBF 100,000 h?
Show answer
e^(−0.0876) = 0.916.
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
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
- NIST/SEMATECH e-Handbook of Statistical Methods: Free handbook (reliability chapter).
- MIT OpenCourseWare 6.041 Probabilistic Systems Analysis and Applied Probability (Fall 2010): Free MIT course.
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.
Procedure
- In PhET Center and Variability, drag values and watch the mean and median move.
- Open NOAA’s Mauna Loa annual means and compute the yearly increases for 2021–2025.
- Compute mean, median, range and s.
- Make a dot plot and describe the 2024 value.
Data table
| Statistic | Value (ppm/yr) |
|---|---|
| Mean | 2.628 |
| Median | 2.55 |
| Range | 1.41 |
| Standard deviation | 0.564 |
Data from NOAA GML; statistics computed.
Sample calculation
- Increases: 2.20, 2.12, 2.55, 3.53, 2.74.
- 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.
Procedure
- Set 12 rows and p = 0.5.
- Drop 1000 balls and record the mean and standard deviation.
- Compute the binomial values.
- Change p to 0.7 and predict the new mean before dropping.
Data table
| Quantity | Binomial value |
|---|---|
| Mean bin | 6 |
| Standard deviation | 1.732 |
| P(bin 6) | 0.2256 |
Computed values; your simulation should come close.
Sample calculation
- σ = √(12 × 0.25) = 1.732.
- P(6) = C(12, 6)/2¹² = 924/4096 = 0.2256.
Safety
- Computer only.
Home or virtual alternative
- Any browser works.
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.
Procedure
- Make 30 columns of =RAND()<0.01 (one per year).
- In each row, test whether any year flooded.
- Copy to 1000 rows and average the result.
- Compare with the exact answer and the expected Monte Carlo error.
Data table
| Quantity | Value |
|---|---|
| Exact probability | 0.260 |
| Monte Carlo SE, N = 1000 | 0.0139 |
| Expected range (±2 SE) | 0.232 to 0.288 |
Computed values; your estimate will vary each recalculation.
Sample calculation
- SE = √(0.26 × 0.74/1000) = 0.0139.
- 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.
Procedure
- Simulate rolls with =RANDBETWEEN(1,6).
- Average groups of 1, 5, 25 and 100 rolls, 500 times each.
- Plot histograms and compute their standard deviations.
- Compare with σ/√n.
Data table
| Rolls per average | Predicted SE |
|---|---|
| 1 | 1.708 |
| 25 | 0.342 |
| 100 | 0.171 |
Computed values; a die has mean 3.5 and σ = √(35/12).
Sample calculation
- σ = √(35/12) = 1.708.
- SE(25) = 1.708/5 = 0.342.
Safety
- Computer only.
Home or virtual alternative
- Real dice work too.
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.
Procedure
- In PhET, place points and compare your line with the best fit.
- Enter the 1960–2020 decade means with x = years since 1960.
- Use LINEST or a trendline to get b₀, b₁ and r.
- Plot the residuals and describe the pattern.
Data table
| Quantity | Value |
|---|---|
| Slope | 1.613 ppm/yr |
| Intercept | 310.15 ppm |
| r | 0.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
- b₁ = Sxy/Sxx = 1.613.
- 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.
Procedure
- Model a sample chain: sensor, radio link and siren in series.
- Compute R with each at 0.99, then with a redundant siren pair.
- Use e^(−t/MTBF) for a 1000 h mission at 50,000 h MTBF.
- Find which single upgrade helps most.
Data table
| Configuration | Reliability |
|---|---|
| Three parts in series (0.99 each) | 0.9703 |
| Two redundant units (0.9 each) | 0.99 |
| 0.9 part + redundant 0.9 pair | 0.891 |
| 1000 h at MTBF 50,000 h | 0.980 |
Sample values; computed.
Sample calculation
- 0.99³ = 0.9703.
- 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)
Exam prep practice sets
Time yourself: about 10 minutes per problem. Then compare with the full solutions.
Midterm practice set (Units 1–5)
Find the mean, median and sample standard deviation of 4, 8, 6, 10, 12.
Show full solution
- Mean = 40/5.
- s = √(40/4).
Answer: Mean 8, median 8, s = 3.16.
Find the chance of at least one 25-year flood (4% a year) in 10 years.
Show full solution
- 1 − 0.96¹⁰.
Answer: 33.5%.
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
- 0.009/(0.009 + 0.099).
Answer: 8.33%.
Find P(X = 0) for a binomial with n = 5, p = 0.2.
Show full solution
- 0.8⁵.
Answer: 0.328.
Find P(X = 0) for a Poisson with λ = 2.
Show full solution
- e⁻².
Answer: 0.135.
Final practice set (all units)
Find P(Z > 1.96).
Show full solution
- 1 − 0.975.
Answer: 0.025.
Find the standard error for σ = 6, n = 36.
Show full solution
- 6/6.
Answer: 1.
Build a 95% interval for x̄ = 50, s = 4, n = 16 (t = 2.131).
Show full solution
- 2.131 × 4/4.
Answer: 50 ± 2.13.
Test H₀: μ = 50 with x̄ = 52, s = 4, n = 16.
Show full solution
- t = 2/(4/4).
Answer: t = 2.0, just below 2.131: do not reject at 5% (two-sided).
Find the reliability of four 0.95 parts in series.
Show full solution
- 0.95⁴.
Answer: 0.815.
A part has MTBF 2000 h. Find P(it survives 500 h).
Show full solution
- e^(−0.25).
Answer: 0.779.
Formula sheet
Constants
| Constant | Value |
|---|---|
| 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 |
| e | 2.718281828 |
| 68–95–99.7 rule | share of a normal within 1, 2 and 3 standard deviations |
| 1 ppm | one part per million by mole fraction |
| Annual exceedance probability | 1/(recurrence interval) |
Free texts and simulations
Use these free lectures, textbooks, handbooks and simulations alongside the course.
- MIT OpenCourseWare 18.05 Introduction to Probability and Statistics (Spring 2022): Free MIT lectures, readings and problem sets.
- MIT OpenCourseWare 6.041 Probabilistic Systems Analysis and Applied Probability (Fall 2010): Free MIT applied probability course.
- OpenStax Introductory Statistics 2e: Free textbook.
- NIST/SEMATECH e-Handbook of Statistical Methods: Free engineering statistics handbook.
- PhET: Plinko Probability: Binomial and normal distributions interactively.
- PhET: Center and Variability: Mean, median and spread interactively.
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.
Self-assessment rubric
No grade or credit is given. Use this to judge honestly where you are in each unit.
| Level | What it looks like |
|---|---|
| 4 · Mastery | Names the random variable, states assumptions, picks the right model, reports uncertainty and interprets results in plain words. |
| 3 · Proficient | Solves the practice problems with occasional slips in assumptions or units. |
| 2 · Developing | Follows worked examples but misreads p-values or confidence levels. |
| 1 · Beginning | Plugs numbers into formulas without checking assumptions; needs to revisit the unit. |
Suggested weighting if you want a score
| Part | Weight |
|---|---|
| Practice problems | 20% |
| Labs | 25% |
| Midterm practice set | 25% |
| Final practice set | 30% |
Aim for level 3 or better in every unit before moving to the next course.



