1. Business
  2. Economics
  3. please show your works thank you...

Question: please show your works thank you...

Question details

(1) [20 pts] Let U be a random variable following a uniform distribution on the interval [0, 1]. Let X=20+1 (Note: you must submit your Stata .do file along with your answers.) In Stata, set the random number generator seed to 417, then generate 40 values for U. Then, generate X using those valuesl! Calculate: (b) Calculate the difference between and E[X]? What happens to this difference when you increase the sample size from 40 to 500?

PLEASE SHOW YOUR WORKS, THANK YOU.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution