subject
Mathematics, 02.12.2019 22:31 briannaandmakayla33

An urn contains three quarters, six dimes, and two pennies. let x1, x2, xn be a random sample with replacement from this urn. let x = (1/n) r_, xk. write a piece of r code to simulate the distribution of x for n = 5 and n = 50. note: to ensure replicability, use set. seed (id) at the beginning of your program where id is your student id number. attach your code and answer the following questions.
(i) plot the histogram of x in each case.
(ii) compare the mean and variance with the theoretical values.
(iii) compare the shape of the histograms of x for n = 5 versus n = 50. which one is more like a bell curve?

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 15:00
Abcd is a parallelogram. the diagram is not drawn to scale. if m
Answers: 2
question
Mathematics, 21.06.2019 15:30
Find the slope of the line below . enter your answer as a fraction or decimal. use a slash mark ( / ) as the fraction bar if necessary
Answers: 1
question
Mathematics, 21.06.2019 15:40
Evaluate the following expression 1/3^2
Answers: 1
question
Mathematics, 21.06.2019 16:30
Iwant to know what 3g+5h+4g-2h is my teacher is too selfish to tell us
Answers: 1
You know the right answer?
An urn contains three quarters, six dimes, and two pennies. let x1, x2, xn be a random sample with...
Questions
question
Mathematics, 28.01.2021 18:10
question
Mathematics, 28.01.2021 18:10
question
Mathematics, 28.01.2021 18:10
question
Chemistry, 28.01.2021 18:10
Questions on the website: 13722367