Hi I'm hoping someone can help me with combining new variables
I'd like to combine six observations into one new variable. There are six organizations in my dataset and four observations for each, the first observation being they actively participate in an organization. I'd like to see a cross tabulation between political interest and the population that actively participates in these organizations.
For the new variable i've done:
gen active_members = .
replace active_members = 0 if ReligiousOrg == 1 | ProfessionalOrg == 1 | Union == 1 | Charity == 1 | Army == 1 | NeighborhoodOrg = 1
When I tabulated Political Interest with active_members the data it gave me was wrong.
I basically want to find the total number of people that answered belong/participate and avoid double counting people who participate in multiple organizations.
I'd like to combine six observations into one new variable. There are six organizations in my dataset and four observations for each, the first observation being they actively participate in an organization. I'd like to see a cross tabulation between political interest and the population that actively participates in these organizations.
For the new variable i've done:
gen active_members = .
replace active_members = 0 if ReligiousOrg == 1 | ProfessionalOrg == 1 | Union == 1 | Charity == 1 | Army == 1 | NeighborhoodOrg = 1
When I tabulated Political Interest with active_members the data it gave me was wrong.
I basically want to find the total number of people that answered belong/participate and avoid double counting people who participate in multiple organizations.
Comment