Answered step by step
Verified Expert Solution
Question
1 Approved Answer
To see how likely a sample like mine was to happen by random chance alone, I performed a simulation. I simulated 100 samples of n
To see how likely a sample like mine was to happen by random chance alone, I performed a simulation. I simulated 100 samples of n = 20 candies from a large population where 20% of the M&Ms were orange. I recorded the proportion of orange in each sample. Here are the sample proportions from my 100 samples. (a = # of trials, b = sample size) (You will upload the dotplot on the next question) Be sure to understand the difference between number of samples (trials) and sample size (n = number of candies in a trial). B) Find your phat from your first non-computer generated simulation (See your answer to question 11). Look at your dotplot from the 100 trials. How many dots are equal to AND greater than/less than your phat? (You made a claim of greater than or less than. Use that direction relative to your phat.) Divide this number of dots by 100 trials. This will be your p-value. (Watch this video for help. Estimating a P-value from a simulation Links to an external site.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started