Hello,
I was wondering is there any code to put all of my missing value of -1 to 0 at once.
I have variables
V1 to V20, and they all include -1 as a missing value.
I've tried
recode V1-V20 -1=.
But does not work.
Any suggestions?
Related Posts with Handling missing values at once?
Creating portfolios with double sorting and calculating mean returns of the portfolios.(please help)This is the third time I write this topic but did not get any answer from statalists members, and ca…
How to convert -mixed- to -gsem-Does anyone know how to convert a 3-level model with random-effects and random slopes from by -mixed…
Values of Coefficient and Power of Test in Data EditorHello, I am using the following command "bysort var: reg y x". In doing so, I get many results. Fo…
Displaying contents of a constraint: negative values shows up as "0-,12345" etc.Dear all, I have been a long-time reader of Statalist and usually find what I need in the excellent…
nscale: new package for rescaling variables to run from 0 to 1 now available on SSCThanks to Kit Baum, a new package called nscale is now available on SSC archive. Code: . ssc insta…
Subscribe to:
Post Comments (Atom)
0 Response to Handling missing values at once?
Post a Comment