Dear All,
suppose that I have the dependent var. Y and several regressors X_1, X_2, X_3, X_4.
I want to run a fixed effect reg. with the constraint (beta_1 + beta_2 + beta_3 =1)and AR(1) error.
Now I know that xtregar can construct an FE model with an AR(1) disturbance, but it cannot directly combine with constraints or include X_1 in a model with the coefficient constrained to 1, like using the offset() option.
I wonder if I can substitute X_2 and X_3 with X_2_new (X_2 - X_1) and X_3_new (X_3 - X_1) and directly divide X_1 in both side and run regression like, Y/X_1 - 1 = beta_0 + X_2_new/X_1 + X_3_new/X_1 +X_4/X_1 ? will this work?
Or if you have any ideas about how can I achieve my target by using other commands?
Any help would be much appreciated.
Best,
Ivy
suppose that I have the dependent var. Y and several regressors X_1, X_2, X_3, X_4.
I want to run a fixed effect reg. with the constraint (beta_1 + beta_2 + beta_3 =1)and AR(1) error.
Now I know that xtregar can construct an FE model with an AR(1) disturbance, but it cannot directly combine with constraints or include X_1 in a model with the coefficient constrained to 1, like using the offset() option.
I wonder if I can substitute X_2 and X_3 with X_2_new (X_2 - X_1) and X_3_new (X_3 - X_1) and directly divide X_1 in both side and run regression like, Y/X_1 - 1 = beta_0 + X_2_new/X_1 + X_3_new/X_1 +X_4/X_1 ? will this work?
Or if you have any ideas about how can I achieve my target by using other commands?
Any help would be much appreciated.
Best,
Ivy
Comment