Hi there,
I have a dataset from a survey which has 117 variables (Q1 - Q117) which composed of both string and numeric variables. How can I create a dummy variable =1 if respondents answered ALL questions from Q 12 to Q 43?
Any advice would be appreciated.
THANKS!!
Related Posts with Dummy for non-missing values
"Scaled RSS evaluates to missing" problemDear Stata users, I am running nlsur command to regress a system of 2 equations to exercise the Mis…
Smarter way toWhile learning probit, mprobit, logit, mlogit, ivprobit, and cmp like Code: mprobit Y X I realize…
Help with Threshold regression for Multiple Threshold VariablesHansen's (2000, pp. 587) setting only allows one threshold and one threshold variable. Subsequently,…
stataWhich stata command do we run to get the very first time a certain patient showed up for a clinic vi…
How should we recalibrate weighting of the pooled dataset?I want to pool two datasets to obtain a nationally representative data, each study had study-specifi…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy for non-missing values
Post a Comment