Question: After this, we can simulate 2 1 0 hand choices, as Emily evaluated in real life, and find a single statistic to summarize this instance
After this, we can simulate hand choices, as Emily evaluated in real life, and find a single statistic to summarize this instance of the
simulation. Use the sampleproportions function and assign the proportion of correct hand choices out of to
simulationproportioncorrect. Lastly, use your statistic function to assign onestatistic to the value of the statistic for this one
simulation.
Hint: sampleproportions usage can be found on the Python Reference.
# This saves the random state of our code so that we can
# generate the same numbers each time we run the code.
# Please do not change this line.
nprandom.seed
modelproportions makearray
simulationproportioncorrect sampleproportions modelproportions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
