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
SYS-GMM: Problem of overidentifying restrictionsHello everybody, I want to analyse determinants of corporate leverage in the past twenty years (wit…
Simulating data for logistic regression with categorical variablesDear Statalists, I would like to test the effect of sample size on standard errors of interaction e…
Promotion ProblemsThe summary of this post is that (a) replace, nopromote functions differently on string variables th…
Generate a new variable based on character ("/") of another variable Code: +-------------------------------------------+ | …
(Easy) Quadratic term of variable in regression: Joint hypothesis testHello, when a variable enters an estimation model in a quadratic term as well, there are two coeffic…
Subscribe to:
Post Comments (Atom)
0 Response to Replace O by NA
Post a Comment