Hello;
I am trying to merge some variables to create a new variable.
To expand, I am trying to create a dummy variable about child care, where 0=non-regulated childcare and 1=regulated child care. The problem is that one variable lists the child care used, and others determine whether that child care is regulated or not.
How do I create a variable that uses values from the three variables I am looking at? See photos for example.
(nonrelativecare is related to value 1 & for variable ACRCD01) and (relativecare is related to value 3 for ACRCD01)
Related Posts with Creating new variable from other variables
Missing standard errors because of stratum with single sampling unit.How do I fix the problem of missing standard errors because of stratum with single sampling unit whe…
Descriptive statistics after regression: multiple observations per idDear Statalist users, I am running a conditional risk set model (survival analysis), which entails …
Outreg2 in a loop and table titleHello everyone, I am facing an issue with the outreg2 command. So I am trying to run a loop like th…
How to make a graph of mean and standard deviation?Greetings. How can I make this graph of mean and standard deviation in stata? What would the command…
Comparison between Children in the Same HouseholdHello All, First off, allow me to apologize in advance for any errors I make in the formatting of m…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variable from other variables
Post a Comment