I have the following DGP:
"Data generating process (DGP): Assume the true data generating process is the following: x is distributed iid N(0,1). eps_i (the i–th epsilon) is distributed N(0,1+exp(x_i)). That is, the variance of epsilon is (1+exp(x)) for that observation. Then assume that the LHS variable Y is generated according to: y = 2 + 1 * x + epsilon . Make the number of observations (N) in the dataset be 50."
But now, I need to estimate it with FGLS: "go back to the d.g.p. from problem (1a) and see how the properties of the FGLS (Feasible Generalized Least Squares) estimator goes. Figure out how to estimate FGLS in Stata, and describe your method (both in “econometrics” language and in “stata” language). In order to implement FGLS you’ll need a statistical model for the heteroscedasiticy. Use this model: var(eps_i) = gamma_0 + gamma_1 * exp(x_i). Then show how (1) the estimated slope parameter and"
Can anyone provide guidance on how to do this?
Thanks!
Related Posts with Monte Carlo FGLS
FRM estimation in panel dataDear researchers, I estimate balanced panel data N = 77, T = 6, in which the dependent variable is …
Rolling Regression for cross sectionBelow is the code that i used to calculate monthly residuals following Fama and French three Factor …
Generating continuous variable indicating child's age.Hello Statalist, My dataset includes variables indicating: Birth year of child (q7004y) Survey yea…
Match each treated country to a non-treat country that is adjacent and has the closest crime rate in year t-1Dear StataList-ers! Help! I need somebody! My question is very basic but I’m absolutely lost. I am …
zero inflated Panel data (Interrupted Time series)Hello Experts, I have panel data set which is zero inflated (99%). I am planning to do an Interrupt…
Subscribe to:
Post Comments (Atom)
0 Response to Monte Carlo FGLS
Post a Comment