Estimate the model using ordinary least squares


Assignment Part 1: General Least Squares:

Suppose we are estimating a linear model:

y = Xβ + e

However instead of the V ar(e) = σ2In, we know that V ar(e) = Σ. Derive the optimal OLS estimator given this condition. That is, minimize erΣ-1e and obtain the optimal estimator. It may be helpful to take the square root Σ, i.e., Σ = Σ1/2Σ1/2.

Programming

Assignment Part 2: OLS estimation of AR(1):

Consider the following AR(1) model:

xt = α + ρxt-1 + et

Generate data from this model. Then estimate the model using ordinary least squares. The estimated ρˆ that you will find will be biased. Write a simulation to study this bias. See if you can find the functional form of the bias via simulation.

Our Programming for Data Science Assignment Help service is the most prominent online service provider organizations in the industry and is quite famous among students from all over the world.

Tags: Programming for Data Science Assignment Help, Programming for Data Science Homework Help, Programming for Data Science Coursework, Programming for Data Science Solved Assignments

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Estimate the model using ordinary least squares
Reference No:- TGS03045448

Expected delivery within 24 Hours