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
Counting observations after a certain event with two date variablesHi all, I have a database of projects that belong to a particular category and have a launch date a…
wald chi square and prob >chi square is .hello, I'm using ordered probit model, and the result the wald chi-square and prob >chi square is…
Creating time dependent scoresHello Statlist-Forum, I am in need for the technical commands for two datasets. The first problem:…
Error of "asdoc": option text() requiredHi All, I'm using asdoc to output stat results, it worked well with: Code: bys country: asdoc tabs…
How to get the first-difference estimator for panel dataGood evening, I am trying to estimate a dynamic panel data model, with n=6 and t=25. Hausman test d…
Subscribe to:
Post Comments (Atom)
0 Response to Adding gap years in the observations
Post a Comment