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
A question of Cox PH modelHello, everyone! I have a question about the Cox PH model in Stata, I know how to use the command st…
Panel data: Multiple IDs, partly duplicatedI have received panel data that need lots of cleaning. The most substantial challenge is finding a u…
generating counterfactual when I have adjusted for a control in Interrupted time seriesDear colleagues i have a model: arima lograte time vacperiod strike malnutration, arima(1,0,0) . Whe…
List of observations in regressionHello, I am running a regression in STATA (xtgee). xtgee Profit number_employees company_size , li…
Creation of cumulative lead variableHi all, my Data looks like the following: Code: * Example generated by -dataex-. For more info, t…
Subscribe to:
Post Comments (Atom)
0 Response to Analyze a wrong code for drop all missing values
Post a Comment