if I want to drop any observation which contains at least one missing value for a variable. The code :
drop if var1-varlast missing
Why this code is wrong?
Related Posts with Analyze a wrong code for drop all missing values
Relative survival and relative excess risk (RER) using imputed dataHi everyone, Does anyone know how I can calculate relative survival (strs) and relative excess risk…
Foreach and forevalues loopHi, I have a list of variables that look as follows: max_1 max_2 max_3. All the numbers in the vari…
Estimating the gravity model using PPLM, general adviceHi, For my thesis I am intending to estimate a gravity model, looking at specifically the effect of…
Autocorrelation Diff in DiffHello, I am working on the following Diff in diff model: ln_sales = b0 + b1*treatment + b2*(treat…
covert date with two digital yearHi Friend, I need to convert the string date format, such as "22-Apr-18" to date format. It seems th…
Subscribe to:
Post Comments (Atom)
0 Response to Analyze a wrong code for drop all missing values
Post a Comment