I have two column variables j8 and j9 and they complement each other. j8 is asking if they plan and j9 says, if they didn't, did their spouse. For the purposes of my study, it doesn't matter if they or spouse planned. In other words, if j8=yes and j9=1. So how do I combine them as they are related? I want to keep yes (j8) and 1 (j9) and j9 still needs to destring. See attached for more clarification. Have been struggling on this trivia piece. I don't want to accidentally remove respondents if I did something wrong. Thank you so much! Array
Related Posts with Consolidating two column variables
How to modify the width of x- and y-axis are the same?Hi everyone, In my example, delta1 = 0.05 (y-axis) has the width is larger than delta 2 = 0.2 (x-ax…
Negative persistence parameterHi, I am estimating a simple OLS persistence model where I regress f.x on x. x is a variable that t…
"too few variables" foreachHi, I'd like to recode (reverse) a list of 24 dichotomous variables (0/1). The following should ill…
How to interpret variance on different levels in melogitDear all, I am analysing what are the determinants for the adoption of bonus compensation for a firm…
Saving the output of -which-I have written an ado command that calls a native executable (an exe file in Windows). Users have tr…
Subscribe to:
Post Comments (Atom)
0 Response to Consolidating two column variables
Post a Comment