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
translate option to change result color in .pdf-fileThe command translator query smcl2pdf shows a table of tunable parameters that can be set either by …
Power calculation for sensitivity of a diagnostic testHi, I want to test the sensitivity of a rapid test & need to calculate the desired sample size.…
Problem with using marginsDear statalist I have a problem using margins on stata command. I'm doing some research related to …
Remaining heteroskedasticity even after using GARCH(1,1)I've also tried GARCH(1,2) and GARCH(2,1) but both of the residuals are subject to arch after testin…
Export Summary Stats with variable labels using putexcelHi Statalisters! I am trying to make the most of stata16's new automated reporting functions, and p…
Subscribe to:
Post Comments (Atom)
0 Response to First differences and lagged variables in panel data
Post a Comment