Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer all parts, show full codes along with output and share the pictures of the jupyter notebook answering all questions: 1. Write a Jupiter

Please answer all parts, show full codes along with output and share the pictures of the jupyter notebook answering all questions:
image text in transcribed
1. Write a Jupiter notebook for the following simulation exercise. Consider the linear model 9 = a + Bxr + where 4 ~ 1.10.), fe() and fx fe are PDFs of some random variable. I, and e, are independent. For this question, assume that f, and fe are both standard normal distribution but we will consider different distributions below. Assunne that a = 3 = 1 (a) What are the theoretical properties of the OLS estimators & and B? What is their theoretical distribution given a sample size N? (b) Draw M tid. random samples of length N for sand & Start with M = 5000 and N = 50 bit you should experiment with different values For each m - 1,... M, compute the OLS estimators m and and their standard errors. Compite the meats and standard deviations of the distribution of the estimators m and Bom (e) Plot the histograms of the Man and (a) Compare the distribution of the simulated m and to their theoretical distribut tions 2. Repeat the exercise in question 1 but assume that I, and are correlated with a correlation coefficient of Per=0.5 3. Repent the exercise in question 1 but assume that fe are both e-distributions with 5 degrees of freedom 4. Repeat the exercise in question 1 buat assume that fe fe are both uniform distributions U10,11 5. Experiment with different sample sizes, eg set N to 100, 500, ... You do not have to report all results in detail but describe the effect of N on the behavior of the OLS estimators in the questions above 1. Write a Jupiter notebook for the following simulation exercise. Consider the linear model 9 = a + Bxr + where 4 ~ 1.10.), fe() and fx fe are PDFs of some random variable. I, and e, are independent. For this question, assume that f, and fe are both standard normal distribution but we will consider different distributions below. Assunne that a = 3 = 1 (a) What are the theoretical properties of the OLS estimators & and B? What is their theoretical distribution given a sample size N? (b) Draw M tid. random samples of length N for sand & Start with M = 5000 and N = 50 bit you should experiment with different values For each m - 1,... M, compute the OLS estimators m and and their standard errors. Compite the meats and standard deviations of the distribution of the estimators m and Bom (e) Plot the histograms of the Man and (a) Compare the distribution of the simulated m and to their theoretical distribut tions 2. Repeat the exercise in question 1 but assume that I, and are correlated with a correlation coefficient of Per=0.5 3. Repent the exercise in question 1 but assume that fe are both e-distributions with 5 degrees of freedom 4. Repeat the exercise in question 1 buat assume that fe fe are both uniform distributions U10,11 5. Experiment with different sample sizes, eg set N to 100, 500, ... You do not have to report all results in detail but describe the effect of N on the behavior of the OLS estimators in the questions above

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 MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions