investigate a situation involving elements of chance using a simulation

22
Investigate a situation involving elements of chance using a simulation

Upload: adanna

Post on 23-Feb-2016

34 views

Category:

Documents


0 download

DESCRIPTION

Investigate a situation involving elements of chance using a simulation. Investigate situations that involve elements of chance: calculating probabilities using such tools as simulations and technology. designing a simulation for a given situation identifying tools to be used - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Investigate a situation involving elements of chance using a simulation

Investigate a situation involving

elements of chance using a simulation

Page 2: Investigate a situation involving elements of chance using a simulation

designing a simulation for a given situation identifying tools to be used defining a trial and the number of trials determining data recording methods

carrying out the simulation and record outcomes selecting and using appropriate displays and

measures communicating findings in a conclusion.

Investigate situations that involve elements of chance:calculating probabilities using such tools as simulations

and technology

Page 3: Investigate a situation involving elements of chance using a simulation

NEW ZEALAND undefeated at soccer world cup 2010

What are the chances?

Page 4: Investigate a situation involving elements of chance using a simulation

145 goals were scored from 566 shots on goal over 32 games.

How many shots per game?

What is the probability that a shot goes in?

At the 2010 soccer world cup

Page 5: Investigate a situation involving elements of chance using a simulation

We can simulate the tournament using these 2 statistics.Each person has one team.To play a game, each person simulates 9 shots on goal.4 sided dice? Calculator? Spinner? tokens in a cup?

18 shots per game, on average1 in 4 shots goes in, on average

Page 6: Investigate a situation involving elements of chance using a simulation

In the soccer world cup, there are 8 pools of 4 teams each.Play a (simulated) game against someone in your pool (A to H)Each player must simulate 9 shots on goal, and count the number of successful goals.The team with the larger number of goals is the winner.Record the score, then play against someone else in your pool.

Play a game

Page 7: Investigate a situation involving elements of chance using a simulation

Each team has to play each other team in the pool, and the teams are then ranked on the results.

The top 2 teams from each pool will go forward in the competition.

We will need to play a lot of games. Using Excel, we can repeat the simulation much more quickly.

Making the simulation easier

Page 8: Investigate a situation involving elements of chance using a simulation

Simulations can be done with just a few commands in Excel

=randbetween ( , ) =if( , , ) =sum( )

Using Excel for simulations

Page 9: Investigate a situation involving elements of chance using a simulation

A B C D E

1 # sim A sim B goals A goals B

2 1=RANDBETWEEN(1,4)

=RANDBETWEEN(1,4)

=IF(B2=4,1,0)

=IF(C2=4,1,0)

3 2        

4 3        

Highlight the line of formulas and fill down 9 lines.

Page 10: Investigate a situation involving elements of chance using a simulation

At the bottom of each column use =sum( ) to total the goals for that team

#sim A

sim B goals A goals B

1 2 2 0 02 2 4 0 03 1 3 0 04 2 2 1 05 4 1 0 16 2 3 0 07 4 3 0 18 1 2 0 09 3 1 0 0

     “=sum(D2:D

10)” 2

Page 11: Investigate a situation involving elements of chance using a simulation

Now playing a game is as simple as deciding which team is A, which team is B, and pressing F9 to rerandomise.

# sim A sim B NZ brazil1 4 1 1 02 2 1 0 03 1 2 0 04 1 1 0 05 3 4 0 16 1 2 0 07 3 1 0 08 3 2 0 09 4 1 1 0

      2 1

Page 12: Investigate a situation involving elements of chance using a simulation

Each team plays each other team in the pool once.

3 points for a win, 1 for a draw, 0 for a loss.

Play your pool games and rank your teams.

The top 2 games in each pool move on to the next round.

Page 13: Investigate a situation involving elements of chance using a simulation

A1 B1 B2 A2 C1 D1 D2 C2 E1 F1 F2 E2 G1 H1 H2 G2

Page 14: Investigate a situation involving elements of chance using a simulation

How could we improve our simulation to make it better represent a replaying of the actual World Cup tournament?

What information would we need?

What tool would we use to do the simulation?

What assumptions did we make?What limitations apply to our model?

Page 15: Investigate a situation involving elements of chance using a simulation

What other situations could be simulated?

Page 16: Investigate a situation involving elements of chance using a simulation

Anything that has an unpredictable element can be simulated.

Games are often simulations or can be simulated. Business plans can incorporate unpredictable factors. Many interactive simulations on websites can be used for

inspiration. You do need some statistics or known probabilities to

begin.

What other situations could be simulated?

Page 17: Investigate a situation involving elements of chance using a simulation

Political polls often survey about 750 people.

If the actual support for the different parties is 50% National, 30% Labour, 10% Green, 10% other, what sort of variation might we expect to see from one poll to the next?

How reliable are political polls?

Page 18: Investigate a situation involving elements of chance using a simulation

IN cell A2 put: =RANDBETWEEN(1,100)IN cell B2 put:

=IF(A9<51,"N",IF(A9<81,"L",IF(A9<91,"G","O")))

Fill down 750 lines

Open an Excel worksheet

Page 19: Investigate a situation involving elements of chance using a simulation

Party poll result

National=COUNTIF(B9:B758,"N")

Labour=COUNTIF(B9:B758,"L")

Greens=COUNTIF(B9:B758,"G")

other=COUNTIF(B9:B758,"O")

Use =countif(array,value) to count supporters for each party

Page 20: Investigate a situation involving elements of chance using a simulation

Press F9 to redo the poll with another 750 people

How much difference would you need to see before you could conclude that people’s preferences really have changed?

By repeating the poll (filling sideways) you can graph repeated polling over time.

Make a graph of the % results

Page 21: Investigate a situation involving elements of chance using a simulation

The morning traffic?

The stock market?

The side effects of power generation?

What would you like to simulate?

Page 22: Investigate a situation involving elements of chance using a simulation

The world is your (simulated) oyster!