ASCENTLEARNING
Join a weekly class
Skip to learning content
YEAR 7 · PROBABILITY · 18 MIN

Digital simulations and explaining differences from predictions

Build a digital chance model and interpret supplied simulation results, including variation between runs.

In this lesson

Before you start
  • Know a fair die sample space.
  • Calculate expected and relative frequencies.
01 / LEARN

Understand the idea.

Match the model to the chances

A simulation uses a random rule to stand in for a physical trial. To model a fair die, generate an integer from 1 to 6 with each equally likely. In a spreadsheet, enter =RANDBETWEEN(1,6) in A2 and fill down to A61 for sixty rolls.

Check both the possible outputs and their chances. Integers from 0 to 6 give seven possibilities, so they do not model a six-faced die. To model red probability 310, use ten equally likely integers and assign exactly three to red.

Preserve and interpret one run

For results in A2:A61, =COUNTIF(A2:A61,6) counts sixes; divide the count by 60 for their relative frequency. Random cells may recalculate when the sheet changes. Copy a completed run and use Paste values when you need to preserve that exact record.

Report the random rule, trial count, observed proportion and theoretical comparison. The supplied table contains separate example runs. Larger samples tend to have more stable proportions, but a correct simulation can still differ from its prediction and need not improve with every added trial.

Supplied example die-simulation records; each row is a separate run
Trials123456
60712913811
600101989510710396
02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Compare two runs

Use the supplied records to find each even-result relative frequency and compare with the theoretical fair-die chance.

Supplied example die-simulation records; each row is a separate run
Trials123456
60712913811
600101989510710396

Worked solution

  1. 1

    Find the theoretical even-result chance.

    E={2,4,6},P⁢(E)=36=0.5

    A fair die has three even faces among six equally likely faces.

  2. 2

    Calculate the observed share in the sixty-trial run.

    Even count=12+13+11=36Relative frequency=3660=0.6

    The counts in the columns for two, four and six are the favourable observations.

  3. 3

    Calculate the observed share in the six-hundred-trial run.

    Even count=98+107+96=301Relative frequency=301600≈0.502

    Use this run's event count and its own trial total; the decimal is rounded to three decimal places.

  4. 4

    Compare each estimate with one half.

    3660−12=110301600−12=1600

    Both estimates are above one half, but the larger run's difference is smaller. This shows greater closeness in these records, not a guarantee for every pair of runs.

Answer

Estimates 0.6 and about 0.502; theoretical chance 0.5.

EXAMPLE 02

A model for unequal colour chances

Model a bag with 3 red and 7 blue equal-size counters, with replacement.

Worked solution

  1. 1

    Choose ten equally likely random integers.

    S={1,2,3,4,5,6,7,8,9,10}

    The bag contains ten equally selectable counters; =RANDBETWEEN(1,10) supplies ten equally likely labels.

  2. 2

    Assign three labels to red and the remaining seven to blue.

    R={1,2,3}B={4,5,6,7,8,9,10}

    Each label has one colour, and the label counts match the bag's three red and seven blue counters.

  3. 3

    Check the model probabilities and repeat the same rule.

    P⁢(R)=310P⁢(B)=710

    Keeping all ten labels available for every new random draw models replacement, which restores the bag's original chances.

Answer

Choose 1–10 equally: 1–3 means red, 4–10 means blue.

03 / YOUR TURN

Try it yourself.

Check your understanding

A model generates 1 to 8 equally and calls 1 or 2 a success. Does it model success probability 1⁢/4?

Show answer & reasoning

Yes.

Exactly two of the eight equally likely integers are successes. Their probability is 28=14, so the rule models the required success chance.

Keep practising

6 worksheet questions · 15 marks

Read the questions online
  1. Which rule models a fair die: =RANDBETWEEN(0,6) or =RANDBETWEEN(1,6)? Explain.
    2 marks
  2. Describe a random-integer model for a fair coin using integers 1 and 2.
    2 marks
  3. Use the supplied table. Find the relative frequency of 6 in the 60-trial run.
    2 marks
    Supplied example die-simulation records; each row is a separate run
    Trials123456
    60712913811
    600101989510710396
  4. For the 600-trial run, state observed and expected six counts, and their difference.
    3 marks
    Supplied example die-simulation records; each row is a separate run
    Trials123456
    60712913811
    600101989510710396
  5. A model chooses 1 to 10 equally and labels 1 to 4 as green. Find green chance and expected greens in 50 trials.
    3 marks
  6. A simulation estimate is 0.6 for an event with theoretical chance 0.5. Must its coding be wrong? State one check and one alternative explanation.
    3 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. Which rule models a fair die: =RANDBETWEEN(0,6) or =RANDBETWEEN(1,6)? Explain.
    2 marks

    The required outcomes are exactly 1 to 6.

    The other rule adds a seventh outcome, 0.

    =RANDBETWEEN(1,6).
  2. Describe a random-integer model for a fair coin using integers 1 and 2.
    2 marks

    Each integer has chance 12.

    Each recorded outcome matches one integer.

    Choose 1 or 2 equally; use 1 for heads and 2 for tails.
  3. Use the supplied table. Find the relative frequency of 6 in the 60-trial run.
    2 marks
    Supplied example die-simulation records; each row is a separate run
    Trials123456
    60712913811
    600101989510710396

    The six frequency is 11.

    Divide by 60; the decimal is rounded to three decimal places.

    1160≈0.183.
  4. For the 600-trial run, state observed and expected six counts, and their difference.
    3 marks
    Supplied example die-simulation records; each row is a separate run
    Trials123456
    60712913811
    600101989510710396

    Expected six count: 600×16=100.

    Read the actual count 96.

    100−96=4.

    96 observed; 100 expected; 4 fewer than expected.
  5. A model chooses 1 to 10 equally and labels 1 to 4 as green. Find green chance and expected greens in 50 trials.
    3 marks

    Four of ten integers give green.

    50×25=20.

    Chance 410=25; expected greens 20.
  6. A simulation estimate is 0.6 for an event with theoretical chance 0.5. Must its coding be wrong? State one check and one alternative explanation.
    3 marks

    A correct model can give an unbalanced finite record.

    Check that outcomes are assigned in the intended proportions.

    Do not adjust recorded data to force an expected fraction.

    Not necessarily. Check the random-outcome mapping; random variation can explain the difference.
Checking saved progress…
Curriculum reference & lesson scope

Australian Curriculum v9 and SA Curriculum Mathematics

Year 7 single-stage sample spaces, equally likely outcomes, probabilities, expected frequencies, chance experiments, simulations and relative frequencies.

Official curriculum source ↗

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account