THE VR SCHOOL
  • Schools & Districts
    • License the academy
    • Free program for your students
    • Request a demo
  • Catalog
    • AI & Data
    • Cybersecurity & Web
    • Programming
    • Health Science
    • All Guilds
    • All courses
  • Families
  • Accreditation
  • Log In
  • Request a demo
  • Home
  • Courses

RLP Statistics B — Probability Models and Statistical Inference

Curriculum

  • 4 Sections
  • 20 Lessons
  • 10 Weeks
Expand all sectionsCollapse all sections
  • Unit 1: Continuous Distributions and Sampling Distributions
    5
    • 1.1
      Continuous Random Variables and Density Curves
      50 mins
    • 1.2
      The Normal Distribution
      50 mins
    • 1.3
      When Is a Normal Model Appropriate?
      50 mins
    • 1.4
      Sampling Distributions and the Central Limit Theorem
      50 mins
    • 1.5
      Performance Task — Sampling Distribution Simulation Study
      150 mins
  • Unit 2: Estimating with Confidence
    5
    • 2.1
      Estimating a Proportion with Confidence
      50 mins
    • 2.2
      Confidence Intervals for a Mean
      50 mins
    • 2.3
      What Confidence Means, and What It Does Not
      50 mins
    • 2.4
      Comparing Two Groups with Confidence Intervals
      50 mins
    • 2.5
      Performance Task — Estimation Study
      150 mins
  • Unit 3: Testing Claims: Significance Tests
    5
    • 3.1
      The Logic of a Significance Test
      50 mins
    • 3.2
      t-Tests for Means and Paired Data
      50 mins
    • 3.3
      Errors, Power and Significance in the Real World
      50 mins
    • 3.4
      Two-Sample Tests from Experiments and Observational Data
      50 mins
    • 3.5
      Performance Task — Significance Test Investigation
      150 mins
  • Unit 4: Chi-Square, Regression Inference and the Capstone Study
    5
    • 4.1
      Chi-Square Goodness of Fit
      50 mins
    • 4.2
      Chi-Square Tests for Two-Way Tables
      50 mins
    • 4.3
      Inference for the Slope of a Regression Line
      50 mins
    • 4.4
      Choosing the Right Procedure and Writing It Up
      50 mins
    • 4.5
      Capstone — Full Statistical Inference Study
      200 mins

Continuous Random Variables and Density Curves

Unit 1  ·  Launch & Concept Development  ·  Lesson 1 of 20

Continuous Random Variables and Density Curves

PS.4RLP-STATSB
Student waits for a bus beside a flat density curve with one shaded interval.
By the end of this lesson I can…

interpret the probability of an outcome of a continuous random variable as an area under its density curve, and compute probabilities for uniform and exponential distributions.

Instruction

In RLP Statistics A, random variables took separate values: 0, 1, 2 rainy days. Many quantities are continuous: a waiting time, a temperature, an amount of rain. A continuous random variable can take any value in an interval, so we cannot list its values with probabilities. Instead we use a density curve.

Density curves (PS.4). A density curve lies on or above the horizontal axis and has a total area of exactly 1 underneath it. The probability that X falls between a and b is the area under the curve between a and b. Two consequences follow. First, P(X = a) = 0 for any single value, because a line has no area, so P(X < a) and P(X ≤ a) are equal. Second, the height of the curve is not a probability. It is a density: probability per unit of x.

Think of a density curve as the limit of a relative-frequency histogram. As you collect more data and narrow the bins, a histogram scaled so its total area is 1 settles toward a smooth curve.

The uniform distribution. A bus comes every 12 minutes, and you arrive at a random moment. Your wait W is equally likely to be anywhere from 0 to 12 minutes. Its density is a rectangle of width 12. For the area to be 1, the height must be 1/12. Then:

  • P(W > 9) = (12 − 9)(1/12) = 3/12 = 0.25
  • P(3 < W < 5) = 2/12 ≈ 0.167
  • The mean is the balance point, 6 minutes.

The exponential distribution (PS.7). Some waiting times are better described by a curve that starts high and decays: the time until the next call to a help line, or the next customer at a counter, when events happen at random at a steady average rate. The exponential density with mean μ is

f(x) = (1/μ) e−x/μ, x ≥ 0,    so    P(X > t) = e−t/μ

(This area formula comes from calculus. You can verify it numerically by adding thin rectangles in a spreadsheet.) Illustrative example: if calls to a help line arrive at random, on average every 4 minutes, then the wait X for the next call is exponential with μ = 4:

  • P(X > 6) = e−6/4 = e−1.5 ≈ 0.223
  • P(X < 2) = 1 − e−0.5 ≈ 0.393
  • The median m solves e−m/4 = 0.5, so m = 4 ln 2 ≈ 2.77 minutes, less than the mean of 4. The long right tail pulls the mean up, just as with skewed data in RLP Statistics A.

The exponential has a surprising property. If you have already waited 2 minutes, the chance of waiting more than 6 more is still e−1.5. It has no memory. This fits truly random arrivals, but not a bus on a schedule, which is why the bus used the uniform model.

Choosing a model. A density curve is a model of a process, not a fact about it. You choose one from the context (is every value equally likely? do events arrive at random?) and then check it against data. The most important continuous model, the normal distribution, is next.

📖 Read for this lesson

The reading opens over the lesson; close it to come back to exactly where you were. The checks below draw on it.

  • Two Real Quantities from the Earthquake Catalog: One Uniform, One Close to ExponentialUSGS Earthquake Catalog (ComCat) via the FDSN event web service: earthquakes of magnitude 3.0 and above, latitude 35.0-37.5 N, longitude 91.5-88.5 W (the New Madrid Seismic Zone region), 1990-01-01 to 2025-12-31 (101 events), and magnitude 2.5 and above for the clustering check; the rectangle-sum table is SLS original; retrieved 2026-11-10 · about 5 min

    Two real quantities from the USGS catalog for the New Madrid region to test the lesson’s models on: minutes past the hour, which a uniform model fits, and the days between magnitude-3.0 earthquakes, which an exponential model describes well, with a look at where the ‘no memory’ assumption breaks down at lower magnitudes. The 40-rectangle sum is worked so the open question needs no spreadsheet.

Vocabulary in context

  • continuous random variable — A random variable that can take any value in an interval; probabilities are areas under a density curve.
  • density curve — A curve on or above the x-axis with total area 1; the area over an interval is the probability of that interval.
  • uniform distribution — A continuous distribution in which every value in an interval [a, b] is equally likely; density 1/(b − a).
  • exponential distribution — A right-skewed continuous distribution for waiting times between random events; P(X > t) = e^(−t/μ).

Formative check

Work through these before moving on. They are not graded — they tell you whether the standard below has landed yet.

+50 XP

For a continuous random variable X, what is P(X = 5)?

Probability is area, and a single point has no width, so P(X = 5) = 0. The height is a density, not a probability.
Fill in the blank

A wait uniformly distributed from 0 to 12 minutes has density height ; P(wait > 9) = .

Myth or Fact?

For an exponential waiting time with mean 4 minutes, the median wait is also 4 minutes.

The median is 4 ln 2 ≈ 2.77 minutes. The distribution is skewed right, so the mean is larger than the median.

Sketch the exponential density with mean 4 and shade P(2 < X < 6). Compute it with the formula (e^(−2/4) − e^(−6/4)). Then check it in a spreadsheet by adding the areas of 40 thin rectangles of width 0.1 from 2 to 6 under f(x) = 0.25e^(−x/4). Explain in two sentences why the rectangle sum is close but not exact.

0 words
Quick self-check

How confident are you that you can read probabilities as areas under a density curve and compute them for uniform and exponential models?

Not yetVery confident

Practice

Work these on paper or in your notebook, then open Check your answer. Aim for all of Fluency and Application; try at least one Challenge.

Printable version: this unit’s practice workbook (PDF)

Fluency

Build speed and accuracy with the core skill.

  1. A wait W is uniformly distributed from 0 to 20 minutes. Find the height of the density, P(W > 15), P(5 < W < 8) and the mean wait.
    Check your answer
    Answer: Height 1/20; P(W > 15) = 0.25; P(5 < W < 8) = 0.15; mean 10 minutes.
    Areas of rectangles.
  2. For the same uniform wait, find P(W = 7).
    Check your answer
    Answer: 0.
    A single value has no area.
  3. A waiting time is exponential with mean 5 minutes. Find P(X > 5).
    Check your answer
    Answer: e^(−1) ≈ 0.368.
    P(X > t) = e^(−t/μ).
  4. For the same exponential wait (mean 5), find P(X < 2).
    Check your answer
    Answer: 1 − e^(−0.4) ≈ 0.330.
  5. Find the median of an exponential distribution with mean 5.
    Check your answer
    Answer: 5 ln 2 ≈ 3.47 minutes.
    Solve e^(−m/5) = 0.5.
  6. An exponential wait has mean 10 minutes. Find P(X > 20).
    Check your answer
    Answer: e^(−2) ≈ 0.135.
  7. Can a density curve have height greater than 1 anywhere? Explain.
    Check your answer
    Answer: Yes. Height is density, not probability; only the total area must be 1 (for example, uniform on 0 to 0.5 has height 2).
  8. A density curve is symmetric about 12. What is P(X < 12)?
    Check your answer
    Answer: 0.5.

Application

Use the skill in context. Show your reasoning.

  1. (Illustrative) Calls to a school’s attendance line arrive at random, on average every 3 minutes. What is the probability of waiting more than 6 minutes for the next call? More than 9 minutes, given that 3 minutes have already passed?
    Check your answer
    Answer: P(X > 6) = e^(−2) ≈ 0.135. Given 3 minutes have passed, P(X > 9 | X > 3) = P(X > 6) ≈ 0.135, by the memoryless property.
  2. A light-rail train arrives exactly every 15 minutes, and you arrive at a random time. Which model fits your wait, uniform or exponential? Find P(wait > 10).
    Check your answer
    Answer: Uniform on 0-15 (arrivals are scheduled, not random); P(wait > 10) = 5/15 ≈ 0.333.
    The exponential fits random arrivals, not scheduled ones.
  3. For an exponential wait with mean 4 minutes, find P(2 < X < 6) and explain why the mean exceeds the median.
    Check your answer
    Answer: e^(−0.5) − e^(−1.5) ≈ 0.383. The distribution is skewed right; the long right tail pulls the mean (4) above the median (≈ 2.77).

Challenge

Stretch problems. Expect to think before you write.

  1. The density f(x) = cx on 0 ≤ x ≤ 2 (and 0 elsewhere) is a valid density curve for one value of c. Find c, then find P(X < 1).
    Check your answer
    Answer: The area is a triangle: ½ · 2 · 2c = 2c = 1, so c = 0.5. P(X < 1) = ½ · 1 · 0.5 = 0.25.
    Area under a straight-line density is a triangle.

Review

Keep earlier skills sharp.

  1. X ~ Binomial(n = 14, p = 0.75). Find P(X = 12), P(X ≤ 12), and the mean and standard deviation of X.
    Check your answer
    Answer: P(X = 12) ≈ 0.1802; P(X ≤ 12) ≈ 0.8990; mean 10.50; SD ≈ 1.620
    P(X = k) = C(14, k) pk(1 − p)n−k.
  2. A game pays −5 with probability 1/3; 5 with probability 2/5; 25 with probability 4/15. Find the expected value.
    Check your answer
    Answer: 7 ≈ 7.00
    Multiply each value by its probability and add.

Missouri Learning Standards — Mathematics (data and probability) addressed: A2.DS.B.8, MP.2, MP.4

Extends beyond Missouri Statistics (enrichment): content Missouri places after Statistics

Instructional focus: Continuous probability models and probability as area

Reading

Two Real Quantities from the Earthquake Catalog: One Uniform, One Close to Exponential

USGS Earthquake Catalog (ComCat) via the FDSN event web service: earthquakes of magnitude 3.0 and above, latitude 35.0-37.5 N, longitude 91.5-88.5 W (the New Madrid Seismic Zone region), 1990-01-01 to 2025-12-31 (101 events), and magnitude 2.5 and above for the clustering check; the rectangle-sum table is SLS original; retrieved 2026-11-10 · Public domain (works of the United States government), with an SLS original worked table

Why this reading. The lesson ends with a rule: a density curve is a model of a process, not a fact about it; choose one from the context and then check it against data. It then gives you no data to check anything against, and its bus and help-line examples are invented. Below are two real quantities from the U.S. Geological Survey’s earthquake catalog for the New Madrid region, where Missouri, Arkansas, Tennessee and Kentucky meet: one that a uniform model describes well (the minute of the hour at which an earthquake occurs) and one that an exponential model describes surprisingly well (the days between earthquakes of magnitude 3.0 or greater). The 40-rectangle sum from the open question is also worked in full, so that question needs no spreadsheet.

Table 1. Earthquakes of magnitude 3.0 or greater, New Madrid region, 1990–2025

USGS Earthquake Catalog (ComCat), searched 2026-11-10 for events of magnitude 3.0 and above, latitude 35.0° to 37.5°N, longitude 91.5° to 88.5°W, January 1, 1990 through December 31, 2025, type “earthquake”. The box is a rectangle around the New Madrid Seismic Zone, so it also takes in parts of Arkansas, Tennessee and Kentucky. It returns 101 events. The eight strongest:

#Date (UTC)MagnitudePlace, as cataloged
11990-09-264.84 km SE of Chaffee, Missouri
21991-05-044.52 km NNW of Risco, Missouri
31994-02-054.22 km WNW of Dongola, Illinois
42005-05-014.25 km SSE of Manila, Arkansas
52005-02-104.13 km NNW of Etowah, Arkansas
62003-04-304.01 km N of Blytheville, Arkansas
72003-06-064.01 km NE of Bardwell, Kentucky
82005-06-024.012 km S of Ridgely, Tennessee

101 events give 100 waiting times. Mean gap 128.1 days, median 75.6 days, standard deviation 160.7 days. The mean is well above the median and the SD is about as large as the mean: right skew, which is what an exponential model predicts (for an exponential, the SD equals the mean). So try one.

Check the exponential model with mean μ = 128.1 days

For an exponential distribution, P(X > t) = e−t/μ. Compare with the fraction of the 100 observed gaps that exceed t:

t (days)Model P(gap > t) = e−t/128.1Observed fraction of the 100 gaps above t
150.89087/100 = 0.870
450.70458/100 = 0.580
900.49542/100 = 0.420
1800.24525/100 = 0.250
3650.0586/100 = 0.060
7300.0031/100 = 0.010

The model’s median would be μ ln 2 = 89 days; the observed median is 76. The agreement is good across the whole range, with a few more gaps shorter than 90 days than the model expects (the observed fractions above 45 and 90 days are 0.58 and 0.42, against 0.70 and 0.50) and close agreement in the long tail. Magnitude 3.0 and above are the events a seismometer network records reliably, they are mostly independent of one another, and independent random arrivals are what the exponential model describes.

Where the memory shows up. Lower the floor to magnitude 2.5 (same box and dates) and the catalog returns 534 events. Now the mean gap is 24.7 days and the median 14.8, but 15.2% of the gaps are shorter than 2.5 days, against 9.6% for an exponential with that mean. Small shocks cluster in swarms and aftershock sequences: once one has happened, another is more likely soon. That is memory, and it is the reason a model has to be checked rather than assumed.

Table 2. Minute past the hour, all 101 events of magnitude 3.0 or greater

The minute of the hour at which an earthquake occurs has no reason to prefer any value: a uniform model on 0 to 59 says every minute is equally likely.

Events 1–25534183901814692938234055463452350512727414716
Events 26–50161218491245305629263425437352142515912381837342
Events 51–75325840392810432444851232646265081251455751255621
Events 76–10016181657655564247553445340124491059461944522731
Events 101–10137

A uniform distribution on the integers 0 to 59 has mean 29.5 and standard deviation √((602 − 1)/12) = 17.3. The 101 minutes have mean 32.0 and standard deviation 16.8. By quarter hour, 0–14, 15–29, 30–44 and 45–59 minutes: 19, 27, 25, 30, against 25.25 expected in each. No quarter is far off, which is what a real uniform looks like with about a hundred draws: not perfectly flat. (Lesson 4.1 gives you a test that says how far off is too far.)

The rectangle sum, worked

The open question: check P(2 < X < 6) for the exponential with μ = 4 by adding 40 rectangles of width 0.1 under f(x) = 0.25e−x/4. The exact area is e−0.5 − e−1.5 = 0.60653 − 0.22313 = 0.38340.

Rectangle12345…40Sum of all 40
Left edge x2.02.12.22.32.4…5.9
Left height f(x)0.151630.147890.144240.140680.13720…0.05719
Left area, width 0.10.0151630.0147890.0144240.0140680.013720…0.0057190.38821

Summing all 40 left-edge areas gives 0.38821. Using right edges instead gives 0.37863, and the midpoint rule gives 0.38339. The left-edge sum overshoots and the right-edge sum undershoots, because the curve is falling: a rectangle drawn from its left edge sticks up above the curve, one drawn from its right edge leaves a sliver uncovered. The exact area is trapped between them, and their average, 0.38342, is already very close. The sum is close but not exact because each thin rectangle has a flat top and the curve is not flat; making the rectangles thinner shrinks the error.

Sources: USGS Earthquake Catalog search (earthquake.usgs.gov); USGS FDSN Event Web Service (the query used here) (earthquake.usgs.gov)

Up NextComplete & Continue →

Leave a Reply Cancel reply

The Normal Distribution
Next

© 2026 The VR School | Career content by Wiley | Powered by Sejal Learning Systems.

Join free · Accreditation · Privacy Policy · Terms of Service

Modal title

Main Content