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
Transforming Z-score variable into variable of percentile scoresGreetings, I'm running Stata 15.1 on OSX. I have a variable containing standardized test scores, wh…
How to drop firms that have less observations within a certain group identifier?Dear Stata Users, I have a sample of the dataset that I use uploaded below. Can you, please help me…
How to delete the first two letters from a string variable?Hello Mr Mrs Help I have a variable called bvid. It is in a form of either abxxxxxxxx or xxxxxxxxxx…
Markers from -scatter- not aligned with spikes from -rcap-I am trying to use raw data to make a graph plotting point estimates and confidence intervals. I am …
Simulating Autocorrelated data via Monte CarloHello, I am trying to simulate autocorrelated data with P(x_t = x_t-1) = .5. I was trying to use so…
Subscribe to:
Post Comments (Atom)
0 Response to identifying lagged dependent variable, panel data
Post a Comment