Good morning to everyone,
i was wondering if there is a command that tells Stata to drop variables if contains only missing values.
I have a database with numerous variables and I would like to delete the ones that are completely empty without having to check them one by one.
Many thanks in advance for your time.
Wishing you a happy weekend.
Related Posts with Data Setting: dropping empty variables in a quickly way
Tobin's QHi all, I am trying to merge two data sets from Compustat to get Tobin's Q. I try to merge the two …
cannot compute an improvement -- discontinuous region encounteredI am trying to build a multilevel model with the governrate-level indicators, but I get this problem…
Multiple imputation and conditional()Hi Listers, I am interested in conducting a multiple imputation on a dataset looking at healthy beh…
How to loop element-by-element operations (e.g regression)Hello, I am trying to find a way to loop element by element operations across two lists of variables…
How to repeat some command linesHello all, I need to repeat 3 line of commands in stata to create updated observations for three va…
Subscribe to:
Post Comments (Atom)
0 Response to Data Setting: dropping empty variables in a quickly way
Post a Comment