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
Estout with PCA outputHi, I am trying to export PCA output to a word document. I have found useful documentation online (…
Regression with 150 variablesHi, I want to run a simple regression but I have 150 variables and I do not want to type all of the…
Conformability error, r(503)Hi everyone, I have a problem when I want to input a matrix in Stata. First I local some results and…
Instrument as control variable for main hypothesis in earlier section of a paper, when 2SLS only used in later sectionDear Statalist Community, I was wondering about good practice in economcetric research, in particul…
evealuating balance after eteffectsHello all, Is there a reason why tebalance summarize is not available after eteffects? Is this beca…
Subscribe to:
Post Comments (Atom)
0 Response to Lead variable in unbalanced panel data
Post a Comment