Lesson 3: Displays of real and simulated samples

Match simulated samples to their distributions

SkillDisplays of random samples

Worked example

  • Simple familiar

A spreadsheet generated four samples of 300 values each, using =RAND()*10, =IF(RAND() < 0.25, 1, 0), =BINOM.INV(12, 0.25, RAND()) and =NORM.INV(RAND(), 5, 1.5), though not in that order. Their displays are described below.

  • Sample A: a histogram, roughly symmetric and bell-shaped, centred near 5, with almost all values between 0.5 and 9.5.
  • Sample B: a bar chart with bars at the whole numbers 0 to 8 only, highest at 3, with a longer tail to the right.
  • Sample C: a histogram of values between 0 and 10 with all ten classes of width 1 holding roughly 30 values each.
  • Sample D: a bar chart with two bars, at 0 (height 228) and 1 (height 72).

(a) Match each sample to its distribution.

(b) Use Sample D to estimate the probability used to generate it.

1 of 5 steps
  1. Step 1: Look for the two-valued display

    Only a Bernoulli variable takes just the values 0 and 1. D came from =IF(RAND() < 0.25, 1, 0), a Bernoulli(0.25)(0.25) variable.

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Two bars at 0 and 1: Bernoulli. Whole numbers with a peak near npnp: binomial.

  2. Flat: uniform. Symmetric bell, almost all within 3σ3\sigma of μ\mu: normal.

  3. Estimate a proportion from a display as (frequency of interest) ÷ (sample size).

Watch out for

  • Expecting a sample from a uniform distribution to have exactly equal bars.

  • Confusing the binomial (bars at many whole numbers) with the Bernoulli (only 0 and 1).

Save your progress with a free account