Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In stata, please write code that will do the following: a b C . (5 points) Set number of observations in your data set to

image text in transcribed

In stata, please write code that will do the following:

image text in transcribed
a b C . (5 points) Set number of observations in your data set to 10 and number of samples to 500. . (5 points) Let X be a discrete RV and suppose in the population it can take values 10, 20, 30, 40, and 50 with equal probabilities i.e. P(X 10) P(X 20) P(X 30) P(X 40) P(X 50) .2 Get a random sample of size 10 from the population described. Do it 500 times. . {5 points) For each sample you get above (500 samples total) calculate the sample mean and sample variance. . {5 points) How does the distribution of sample mean look like? Draw a histogram. What about the distribution of sample variance? Remember we are looking at the values of sample means and sample variances over 500 samples. . {5 points) Follow the same steps above for sample sizes 50, 100, 500, and number of samples 50,100, 500. Interpret your results. Conceptually, sample variance and variance of sample mean are two different things. Make sure you understand this. What happens to sample variance as sample size gets larger? What happens to the variance of sample mean as sample size gets larger? Comment

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: 3

blur-text-image

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

Advanced Engineering Mathematics

Authors: Dennis G Zill, Warren S Wright

5th Edition

1449679781, 9781449679781

More Books

Students also viewed these Mathematics questions

Question

How would you handle the difficulty level of the texts?

Answered: 1 week ago