Hello everyone,
I have three variables in my dataset - company name, year, and profit. The year variable is from 2001 to 2019. Some companies don't have observations for some years, let's say the company A has years and profits only for only 2002 and 2004. I want to add missing years for the companies, that will include all years from 2001 to 2019. The proft for those added gap years can be missing observations. I would highly appreciate if you could advise me on how I can do it on Stata.
Thank you very much in advance,
Nick
Related Posts with Adding gap years in the observations
elasticity calculation with a factor variable regressionhi dear all statalisters, I now face a problem in getting the elasticity after running a logit model…
Generate time value with year and quarter and xtsetI have 3 variable variable year with value from 2000-2010 variable quarter with value from 1-4 varia…
What pseudo R squared and chi2 obtained with -pstest- mean?Dear All, I have run -pstest- after matching. I have explained the standardised bias and the mean b…
Creating new variable across rowsHello, I've got a dataset with rows specific to an individual and columns specific to certain theme…
Question on AIC (and Log-likelihood)Hello everybody. I would have two quick theoretical questions on the AIC, which raised when perform…
Subscribe to:
Post Comments (Atom)
0 Response to Adding gap years in the observations
Post a Comment