I need to know the number of split voters in Denmark - those who did not vote for the same party at the general and the local election.
An example:
A person votes for Socialdemokratiet at the general and the local election = not a split voter
A person votes for Socialdemokratiet at the general election and for Venstre at the local election = split voter
Variable 1: Which party did you vote for at the generel election
(Danish parties below)
1. Socialdemokratiet
2. Det Radikale Venstre
3. Det Konservative Folkeparti
4. SF - Socialistisk Folkeparti
5. Kristendemokraterne
6. Liberal Alliance
7. Dansk Folkeparti
8. Venstre
9. Enhedslisten
Variable 2: Which party did you vote for at the local election
(Danish parties below)
1. Socialdemokratiet
2. Det Radikale Venstre
3. Det Konservative Folkeparti
4. SF - Socialistisk Folkeparti
5. Kristendemokraterne
6. Liberal Alliance
7. Dansk Folkeparti
8. Venstre
9. Enhedslisten
How can this be done in Stata? Should i gen. a new variable to make this possible?
I hope someone can help me out here.. :-)
Best regards
Mikkel
Related Posts with Number of splitvoters from two variables
Different kinds of missingsDear stata-community, I collected data on about 2000 participants via an online survey. I am now in…
Error in post command: unknown function () post: above message corresponds to expression 1, variable I´m getting an error in my code when using post command but I don´t know why. The code is reproduc…
Specification of triple difference-in-differences with 2 treatment groups and 1 control groupHello everyone, I have an outcome which I measure between two dates for three different cohorts. Th…
Ivreg2Array Hi, I am writing a thesis on the effect of higher stringency on Covid-19 mortality in US coun…
unable to export mean and sd using tabstatHello, I am using the below code to export my descriptive statistics. All is good except that I get…
Subscribe to:
Post Comments (Atom)
0 Response to Number of splitvoters from two variables
Post a Comment