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
Incorrect margins/pred. probabilities after ivprobit - instrument should be ignored?Hello, I am using the ivprobit command and want to calculate predicted probabilities with the margi…
Edit graph with codeI've got 20 .gph files and I need to change the titles on all of them. Can I do that with Stata comm…
In need of help with Survey data analysis, survey settings/svysetHello there I am trying to perform a multinominal logistic regression using survey data and having t…
Tempfile and error due to "spaces" at the end of a do-file lineHello to everyone. I really hope someone can help me with this. I have a dataset in which I am runni…
Fixed effects and instrumental variablesHello all, I have 3 years of cross sectional data of which 2 years have information on my independe…
Subscribe to:
Post Comments (Atom)
0 Response to Using coefficeints from regress command to generate a new variable
Post a Comment