Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

population - c ( rep ( 1 , 1 0 0 0 0 ) , rep ( 0 , 5 0 0 0 ) samples

population -c(rep (1,10000),rep(0,5000)
samples_of_20-c()
for in c(1:5000){
x-sum(sample(population,20))/20
samples_of_20-c(samples_of_20, x)
}
barplot(table(samples_of_20))
Run the above code and use [] to list all the means in your 5,000 samples of 20 that are between 0.7 and 0.8
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

ISBN: 1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

gpt 8 3 9 .

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago