Hello Statalisters,
I am working with a timeseries dataset similar in structure to that one available on
My dataset has a lot of missingness and I would like to clean my dataset by removing observations that do not contain values for specific variables throughout the entirety of the time series. For example, in the dataset above, suppose there was a lot of missingness in variables kstock and mvalue but there were companies that did not have any data for through the time series. How can I drop just the latter companies? Any suggestions would be greatly appreciated.
I am working with a timeseries dataset similar in structure to that one available on
Code:
webuse grunfeld, clear
Comment