Dear Stata community,
since I am a new Stata user, I apologize if my question is trivial. I tried to find the answer to my question here, but without success.
My panel data is dynamic, with one lag dependent variable as one of my regressors. Prior to executing different estimators and afterwards Hausmann and other tests to find the appropriate estimator, I wanted to determine/identify independent and dependent variables by the following commands:
global id b_id
global t year
global ylist llp
global xlist gdp unempl
However, I am not sure how should I enter my one lag dependent variable?
Is it global xlist L.llp
Or maybe should I first generate my one lag dependent variable gen lagllp=? and than use lagllp in the global xlist?
I know that there is also a possibility to enter the variables directly in the commands for running the estimators and tests, but I prefer to identify them and then run specific tests.
Thank you upfront.
Related Posts with identifying lagged dependent variable, panel data
"not sorted" after predict u command on panel frontier modelHi, I am developing a frontier model but am unable to predict inefficiency and efficiency values. Be…
Batch convert RTF to Word DOCX formatIs there a way to convert (in batch, programmatically) RTF to DOCX files? My preference would be to …
Interraction effectstata command for running interraction effects of two independent variables on one dependent variabl…
Counting using loop members of the same household during a specific time period.Hi everyone, So I'm using Stata 12.0 and currently working on a dataset with around 500,000 indivs,…
Counting observations by group adjusting over timeDear Forum, first of all thank you for all previous answers you have provided - I would hav finishe…
Subscribe to:
Post Comments (Atom)
0 Response to identifying lagged dependent variable, panel data
Post a Comment