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
Panel Structural VARHello all, I am working on finding the us monetary policy impact on a bunch of countries and for thi…
GMM methodGoodnight all, I have some problems regarding the GMM method for a sample (panel study) of 14 countr…
Renaming variables in loopHello all, I'm working with a dataset which has variables with counters as follows: payment_1, paym…
Problem with lpolyci graph using Stata 15 vs 17Hi everybody! I am using Stata 17. While running the code below: HTML Code: sysuse auto, clear …
Generating mean of a variable (e.g. population density) for each observation, when each observation spans multiple states/provinces.Hi all, I am trying to create a mean population density variable for every observation in my datase…
Subscribe to:
Post Comments (Atom)
0 Response to Consolidating two column variables
Post a Comment