Hi
I'm working on a input dataset from a questionnaire.
Some variables in the questionnaire is required to answer. Does the person not answer that required question then all the other variables become missing or zero.
I really want to replace zero variables with . after that not answered required question.
So basically a code that says: "After last required question that is not answered all variables after that var has to be replaced with missing instead of zero "
Related Posts with Reset variables to missing after last non zero variable in a row
InterpretationI have the below model, how should I interpret B6: There is a decrease in children by 0.21(It does n…
unreconnized commandHello! Please can anyone help me: I am using STATA 15 to run a Heckprobit, when I ask for mfx I get …
Regress only on fixed effects without using dummiesI want to regress on only fixed effects to obtain dipersion of within-variation. However, I am using…
Pseudo R2 for mprobit - Loglik with intercept-only modelI run both mlogit and mprobit regressions. Stata reports pseudo R2 for mlogit but not for mprobit. …
Pseudo R2 for mprogit - Loglik with intercept-only modelI run both mlogit and mprobit regressions. Stata reports pseudo R2 for mlogit but not for mprobit. …
Subscribe to:
Post Comments (Atom)
0 Response to Reset variables to missing after last non zero variable in a row
Post a Comment