In a panel dataset, there are companies with revenues for multiple years.
I would like to drop all companies if their revenue information is missing for any year.
Is there a simple way to achieve this?
Related Posts with Panel data - dropping cross section based on missing values
Macros with strings and ampersandsI try to define a local list of strings, where some of the strings contain ampersands (&). Unfor…
Dropping group with missing waves for panel dataHey guys, I'm trying to put together a diff-in-diff panel where the treatment is a labour market pr…
generating variable with logical operatorsDear Statlisters I have data on ownership of household assets. I want to generate variables where l…
TempfileI have been trying to merge a file with a tempfile. evertime stata shows "variable HHID does not uni…
Problem with a dummyHi. I have to create a dummy variable which is zero if a variable "x1"=0 and it is egual to 1 if x2,…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data - dropping cross section based on missing values
Post a Comment