Hello everybody,
I'm quite new to Stata and I would like to generate first differences of all my variables, i.e. x(i,t)-x(i,t-1). Additionally, I would like to lag my variables by one period, i.e. x(i,2010) should then be x(i,2011). I hope that makes sense.
Could someone help me out here please?
Thanks a lot !
Have a nice day,
George
Related Posts with First differences and lagged variables in panel data
Simple Question from Beginner about Chow Test for choosing best model between Common and Fixed EffectIs the red rectangle is the answer for Chow Test to choose the best model between Common and Fixed E…
Unique values across columnsHello, I have a table of unique organisations, these are in column 1, then in columns 2 through to …
Why stricter the condition, the higher probability?I am using joint null test if all averaging effect of these variables (dkt_4 dkt_3 dkt_2 dkt_1) is 0…
permute with reghdfeDear All, Please, I am using reghdfe absorbing a(counties years). I want to 'scramble' years, assign…
Creating Calendar-Time Portfolios Following EventsDear all, I am currently working on a study on the effect of televised stock recommendations in the…
Subscribe to:
Post Comments (Atom)
0 Response to First differences and lagged variables in panel data
Post a Comment