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
How to deal with values that include numbers and lettersHello! I have a dataset that includes ICD10 codes, which include both numbers and letters (as seen i…
The log-likelihood function of mlogit command with vce(cluster id)Hi I have a question about the mlogit command. As you know, multinomial logit model is estimated by…
Two different*scales in graph hbarHi Stata Users, I am using Stata 15 to have a horizontal bar using the dataset below Code: * Exam…
Formatting confidence intervals in .csv using esttabHi All, This is an issue I've had when using esttab for several years that I've never been able to f…
Export cross tab with summary statisticsHi everyone, this seems like a super obvious question that I'm sure somebody has asked before, but …
Subscribe to:
Post Comments (Atom)
0 Response to Coding Missing Values for a large set of variables
Post a Comment