You should explain how you used computer simulation to calculate the
average earnings of a gambler that uses this strategy. As part of
the explanation, provide a figure (or a series of figures) that show
how the gamblers earnings (or losses) evolve over a series of wagers
at the roulette wheel. (The x-axis will be the wager number (or play
number), the y-axis will be earnings.) The code below provides all
the functions you’ll need to calculate average earnings.
Show your audience how changing a parameter of the simulation (see
table below) does or does not have an impact on average earnings. A
figure would be helpful.
See the stopping rule below. Explain to your audience how you used
computer simulation to estimate the average number of plays before
stopping. The code below will need to be modified to calculate this
quantity.
Be sure to explain the limitations of the simulation; identify
simplifications or other sources of uncertainty.
Please delete any of my comments you included in the html file before your Introduction section. At the top where it says "incomplete".
For formatting put a blank line between each desired paragraph of text.
The following sentence is incorrect "the mean number of plays is 193.89 , because this is so close to L=10 we know almost everyone is stopping because they reach the max of plays. " The mean number is 193 which is NOT close to L=1000 so they are all stopping because they either win $300 or lose $200 not because of the max plays.
Incomplete. Please follow assignment instructions:
You should explain how you used computer simulation to calculate the average earnings of a gambler that uses this strategy. As part of the explanation, provide a figure (or a series of figures) that show how the gamblers earnings (or losses) evolve over a series of wagers at the roulette wheel. (The x-axis will be the wager number (or play number), the y-axis will be earnings.) The code below provides all the functions you’ll need to calculate average earnings.
Show your audience how changing a parameter of the simulation (see table below) does or does not have an impact on average earnings. A figure would be helpful.
See the stopping rule below. Explain to your audience how you used computer simulation to estimate the average number of plays before stopping. The code below will need to be modified to calculate this quantity.
Be sure to explain the limitations of the simulation; identify simplifications or other sources of uncertainty.
Slack me any messages!