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
Heckprobit model with no outputHi everyone, I'm working on a project about internet lending which focuses on the relationship betw…
Plotting Quantile treatment effects with 95% confidence intervalDear statalist, I am using the following code to plot the QTE along with 95 % CI. capture postuti…
Does minbound run with logs?I am using minbound to find the solution to an equation the involves log (equivalent to solver in Ex…
capture a change over time within idHi I have a panel data of N couples (id) over 6 time periods the variable h_child is equal to "1" if…
How to change the width of bars in a catplot graphHello everyone, I generated a bar graph using the catplot command for two categorical variables and…
Subscribe to:
Post Comments (Atom)
0 Response to Lead variable in unbalanced panel data
Post a Comment