Hello
What is wrong with my code please to replace my 0 by something meaning NA ? :
replace namevariable = NA if namevariable==0
or
replace namevariable = "" if namevariable==0
Thanks a lot for your help
Related Posts with Replace O by NA
Making a dummy for threshold Hi, I am going to make a dummy Ii ( Em (i)<= Em) that selects firms whose employment (Em(i)) is…
Traj command (dropout model)Hello everyone, I am using the traj command to examined gait speed trajectories and I have a questi…
How are p-values calculated in an Oaxaca-Blinder DecompositionHi all, I am trying to interpret the results of an Oaxaca-Blinder Decomposition. I am using the pop…
Selecting Date RangeI have a data where one of the variables is CloseDate whose Variable Type is int and Format is %tdnn…
Zero event meta analysis with ipdmetanHey everyone, I'm trying to run a two-stage meta-analysis to generate a forest plot with individual …
Subscribe to:
Post Comments (Atom)
0 Response to Replace O by NA
Post a Comment