Hi everyone,
Im trying to code negative values in my dataset as missing values.i want to do this across all the variables. The condition of re coding negative values as (.) is also same across all the variables.
e.g:
replace var1 = . if var1 < 0
I would want it to do for multiple variables at once.
Any help with this would be really appreciated.
Thanks
Related Posts with Coding Missing Values for a large set of variables
scatter plot with line of best fitDear Stata users, I am interested in investigating the association between specific measurements (b…
How to write a joint maximum likelihood estimation?Dear statalist: I want to write a joint maximum likelihood estimation(JMLE) for wage and unemploymen…
IV Quantile Regression and over-identificationDear Statalist members, I want to estimate an IV quantile regression but my model is over-identifie…
How to divide the samples into deciles?Hi! I am new to Stata I need to divide my sample into deciles in each year and industry. So I have …
Mistake in command to calculate natural logarithmHello Statalist, I have a problem with command calculating natural logarithm in Stata that is so co…
Subscribe to:
Post Comments (Atom)
0 Response to Coding Missing Values for a large set of variables
Post a Comment