Hi All, I have annual data on the sales revenue of firms. I have the year variable as follows: year = 2008, 2009, 2010, 2015, 2016, 2017. I want to take lead of the sales variable by using the command sales[_n+1]. The problem is the gap in my yearly data, i.e., between 2010 and 2015. Can you please help me with how can I take lead of my sales variable in this data set? I would appreciate your reply.
Related Posts with Lead variable in unbalanced panel data
Heckman selection model with Blinder-Oaxaca DecompositionI am trying to decompose the log wage gap between the non-disabled (DISTYPE = 1) and work-limited di…
T-tests and dummy variablesHi! I'm pretty new to Stata and statistical analyses in general, so sorry in advance if something I…
various small questionsHello, first of all I would like to thank you all for all the help I have been getting through this…
How to replace an observations if one date variable is after another date variableHi all, Can anyone please assist with the following problem? I am currently working on a hospital …
First non zero integerHi, I have a sample with 667 variables. I want to replace the observations of variable 3 till varia…
Subscribe to:
Post Comments (Atom)
0 Response to Lead variable in unbalanced panel data
Post a Comment