I have a dataset with the following structure: (besides 'revenue' there are several more variables)
| ID | Name | Year | Revenue |
| 1 | A | 2016 | 10 |
| 1 | A | 2017 | 12 |
| 1 | A | 2018 | 13 |
| 2 | B | 2016 | 5 |
| 2 | B | 2017 | 6 |
| 2 | B | 2018 | 4 |
| ... | ... | ... | ... |
Since I am new to Stata I am not sure whether this is required, but the type of ID is str, the type of name is str and the type of year is int.
Thanks a lot in advance!
Best regards
Sebastian Ebener
0 Response to Expand observations
Post a Comment