a. Generate a random variable with 1000 observations using the normal distribution, X~N(50,100)
in R.
b. What is the mean and standard deviation?
c. Presume that what you generated in a. and b. is a population distribution. Now take 10.000
samples with 100 observations in R.
d. Draw a histogram of the sampling distribution and check whether your conjecture is correct.

e) What is the mean of that distribution and what is the standard error?

Q2)

Repeat the same a-e in question 1 but now generate a random variable with n=1000 using the Poisson distribution with μ=1

a. Using the normal distribution, create a random variable with 1000 observations, XN (50,100)

What are the mean and standard deviation in R?

c. Assume that the population distribution you generated in steps a. and b. is correct. Now multiply that by 10,000.

In R, samples with 100 observations were created.

d. Create a histogram of the sampling distribution to see if your hypothesis is right.

e) What is the mean and standard deviation of that distribution?

Q2)

Rep question 1 with the same a-e, but now create a random variable with n=1000 and a Poisson distribution with =1.

Published by
Essays
View all posts