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
countingHello, I have a database in Stata and I need to count the number of nodules in each patient. The fir…
splitting Chinese addresses?Dear All, Suppose that I have the following addresses (in Chinese), Code: * Example generated by -d…
How to capture the results of lookfor_all to local files?Hi, I am searching for (lookfor_all from ssc) all datasets in a directory that contain the target v…
replacing variable value via a loop conditioning on the contents of other variablesHello, I have dataset which has 14 variables relating ethnic group: eth1 eth2 eth3...eth14. The va…
In Stata 17.0 Kaplan-Meier graph with log scale in xaxis impossible due to start at zero, why?Hi, I have tried to start Kaplan-Meier plot with logscale at time -axis using several forms of stset…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data - dropping cross section based on missing values
Post a Comment