Mostly Harmless StatisticsXYZ Homework Edition

⇩ Download ▾

EXPLORE BEFORE YOU READ · CHAPTER 7

How often does an interval catch the truth?

The population mean stays at 100. The samples—and intervals—change.

07.7515.523.25317386.5100113.5127

Horizontal: Measurement units; population mean = 100Vertical: Independent samples

29 / 30 intervals cover 10095% confidenceMargin: 3.92

Thirty independently simulated samples from a normal population with mean 100 and known SD 10. Solid intervals contain 100; dashed intervals miss it. Confidence describes long-run coverage of the method—not the probability that this fixed mean moves into a computed interval. The horizontal range expands when needed to show every endpoint.

Static starting view. JavaScript enables the controls; the data, explanation and downloads work without it.

Data and method

Authored teaching model connected to Rachel Webb, Mostly Harmless Statistics §7.4, CC BY-SA 4.0. Parameters are illustrative, not claimed as observed data. Authored simulation; no measured observations are claimed.

Simulation generator: Mulberry32; reproducible local seed 20260915. This is not a Crunch launch seed.

Values for the current experiment
SampleMeanLower boundUpper boundContains model mean
198.43524294.515316102.355167covers
299.70669595.78677103.626621covers
3101.68061997.760693105.600544covers
4101.80385697.883931105.723782covers
599.30698395.387057103.226908covers
699.72055295.800626103.640477covers
799.26507695.34515103.185002covers
897.42901993.509093101.348944covers
9100.17807996.258154104.098005covers
1099.913795.993774103.833625covers
1199.77545895.855532103.695384covers
12101.61539697.69547105.535321covers
1397.73733393.817408101.657259covers
1497.72946593.809539101.64939covers
1597.97533994.055414101.895265covers
16106.838732102.918807110.758658misses
17100.51423896.594312104.434163covers
18101.03563997.115714104.955565covers
1999.8979895.978054103.817906covers
20102.93260799.012682106.852533covers
21101.69342597.7735105.613351covers
2299.63611595.716189103.55604covers
23102.63395998.714033106.553884covers
2499.39466295.474736103.314587covers
2597.85608493.936158101.77601covers
2699.81081495.890888103.730739covers
27101.3599597.440024105.279875covers
28101.25341297.333486105.173337covers
29102.38662498.466699106.30655covers
30101.5202897.600354105.440205covers
Continue in XYZ Crunch · MH07B

Known population SD and the cost of precision

This authored coverage simulation uses population mean 100, known SD 10, and 30 repeated samples. MH07B instead studies the book's penny-age summary and hypothetical interval-width scenarios. Its Crunch link opens a standard-normal inverse lookup with cumulative left area .975; it does not seed penny records, compute intervals, or reproduce this coverage simulation. For the penny interval, use the penny problem's own mean, sample size and known population SD in x-bar ± z* sigma/sqrt(n), following the workbook steps. The SD 10 belongs only to this coverage simulation. Z Interval from Data still requires an independently known SD and actual observations. If SD must be estimated from observations, use the t method. §7.4 supplies the interval method and §7.5 explains long-run coverage. Changed n/confidence and the simulation seed stay here; the current interval CSV is a separate export.

  1. Use inverse standard normal with left area .975 for 95% confidence and .995 for 99%.
  2. Use the supplied known σ in the printed interval formula.
  3. The current Z Interval (from Data, known σ) requires actual observations plus an independently known population SD. Only summaries are supplied for the penny example, so use Z Interval (known σ).
  • Known-sigma z interval: Margin uses a known population SD, not an SD estimated from the sample. Notation: x-bar±z*σ/√n. Source: §7.4.
  • Mean sample size: Round up after applying the precision formula. Notation: n=(z*σ/E)². Source: §7.6.

The link opens the activity’s stated Crunch starting point. Confirm the panel, lists and settings in the steps above, and enter data only when those steps require it. Crunch links do not transfer what-if edits; export them separately as CSV.

Chapter 7: Confidence Intervals for One Population

Statistical inference is used to draw conclusions about a population based on a sample. We can use the probability distributions and Central Limit Theorem to understand what is going on in the population. The population can be difficult to measure so we take a sample from that population and use descriptive statistics to measure the sample. We can then use those sample statistics to infer back to what is happening in our population. Although there are many types of statistical inference tools, we will only cover some of the more common techniques.

Distinguishing between a population and a sample is important in statistics. We frequently use a representative sample to generalize a population.

Adapted from Mostly Harmless Statistics by Rachel Webb (Portland State University, https://mostlyharmlessstat.wixsite.com/webpage), © Rachel Webb, licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or any other accessibility standard. Every page is built against an automated accessibility gate, and our target for the published editions is WCAG 2.2 Level AA. If something is unusable, please tell us.