6,751
Views
1
CrossRef citations to date
0
Altmetric
Articles

Teaching Monte Carlo Simulation with Python

&
Pages 33-44 | Published online: 11 Oct 2022

Figures & data

Fig. 1 Coin toss simulation in Google Sheets, used to scaffold student learning in Python (Holman Citation2019).

Fig. 1 Coin toss simulation in Google Sheets, used to scaffold student learning in Python (Holman Citation2019).

Fig. 2 Coin toss simulation in Python on Repl.it: https://replit.com/ @statsprof/Sim1CoinToss.

Fig. 2 Coin toss simulation in Python on Repl.it: https://replit.com/ @statsprof/Sim1CoinToss.

Fig. 3 Coin toss simulation graphic output on Repl.it: https://replit.com/ @statsprof/Sim1CoinToss.

Fig. 3 Coin toss simulation graphic output on Repl.it: https://replit.com/ @statsprof/Sim1CoinToss.

Fig. 4 Graphic displaying repeated trial results for coin flip simulation.

Fig. 4 Graphic displaying repeated trial results for coin flip simulation.

Fig. 5 Dice game simulation on Repl.it: https://replit.com/@statsprof/Sim2DiceGame.

Fig. 5 Dice game simulation on Repl.it: https://replit.com/@statsprof/Sim2DiceGame.

Fig. 6 Dice game simulation with betting: https://replit.com/@statsprof/Sim2DiceGame-PlusBetting.

Fig. 6 Dice game simulation with betting: https://replit.com/@statsprof/Sim2DiceGame-PlusBetting.

Fig. 7 Distribution of S&P 500 Stock Market Index annual returns (%) from 1926 to 2018.

Fig. 7 Distribution of S&P 500 Stock Market Index annual returns (%) from 1926 to 2018.

Fig. 8 Stock market simulation: https://replit.com/@statsprof/Sim3StockMarket.

Fig. 8 Stock market simulation: https://replit.com/@statsprof/Sim3StockMarket.

Table 1 The proportion of students indicating that they “Strongly Agree” with each question about the course is shown here for the 2018 Spring and 2019 Spring Advanced Statistics Course.

Supplemental material

Supplemental Material

Download MS Word (17.8 KB)