Hi everyone,
I am currently working on a large dataset with individual level data from three countries (in one dataset) using Stata 12.
Let's say I have a country identifier variable, one var that's educational attainment (4 categories plus one don't know" cat), and one that's attitude towards homosexuals (three categories 1=No; 2=yes, 3=don't know).
I need to create a table as follows:
for each country, tabulate only those frequencies of attitudes towards homosexuals of category 2(=yes), by educational attainment.
Based on such a table, I want to be able to easily read, for example, how many percentages of respondents with post-secondary qualifications state 2=yes in the attitudes variable.
Is there an easy way to do that?
Thanks,
Andreas
I am currently working on a large dataset with individual level data from three countries (in one dataset) using Stata 12.
Let's say I have a country identifier variable, one var that's educational attainment (4 categories plus one don't know" cat), and one that's attitude towards homosexuals (three categories 1=No; 2=yes, 3=don't know).
I need to create a table as follows:
for each country, tabulate only those frequencies of attitudes towards homosexuals of category 2(=yes), by educational attainment.
Based on such a table, I want to be able to easily read, for example, how many percentages of respondents with post-secondary qualifications state 2=yes in the attitudes variable.
Is there an easy way to do that?
Thanks,
Andreas
Comment