good evening everyone,
I am using Stata 16.1. I have to run a pooled OLS on a panel data and the use the estimated coefficients to generate a new variable:
1. The model I'm trying to implement is: ∆ki,t = ( λ0 + ΛZi,t-1) (Gapi,t-1) + ηi,t
2. I use the following regress command after setting the dataset as panel using xtset:
regress actual_tier1_gap l.tier1_gap l.((c.tier1_gap)#(i.state1nonstate0 c.size c.return_on_equity_w ///
i.below_tier1 c.provforNPA_to_net_advances_w i.Listeddummy1iflisted c.GdpGrowthRate c.inflation)), noconst
(I apologise for the variable names being unwieldy.)
3. I have run into a few issues:
a. my first question is whether the command is appropriate for the model I am trying to implement
b. the coefficient ofλ0*Gapi,t-1 tends to remain low if I add few controls, but increases considerably when I add all of the controls above.
c. Finally in the second stage I have to estimate a variable ΛZi,t-1 from the estimated coefficients of Eq1. I'm unable to grasp how to do it.
Any help would be much appreciated.
regards,
Gagan
Related Posts with Using coefficeints from regress command to generate a new variable
Generating a composite variable to reflect the number of answered questionsHello, I want to generate a composite variable “ppe” from 10 variables which have been coded 0 “no” …
How to add a macro/string variable to a matrixI run a structural break test using the command estat sbsingle for a large number of regressions. I …
create a weight on dependent var and run as regressionDear all, I have searched in the forum on how to create a weight for a variable but I could not pre…
repeated measures latent class analysis (RMLCA) ID TIME_POINT A B C 1 1 5 10 10 1 2 25 25 25 1 3 50 50 25 2 1 50 25 25 2 2 25 75 75 2…
Big Five - combined mean of six itemsHi, I have six items, which is rated on a likert-scale (1-5). I would like the combined mean of the…
Subscribe to:
Post Comments (Atom)
0 Response to Using coefficeints from regress command to generate a new variable
Post a Comment