*Do-fil to append DNES2011 to CSES-MODULE-4: *version 4 October 2019 * Please cite as: * Hansen, Kasper M. (2019) Do-file for applying Danish 2011 election study to CSES Module 4. Copenhagen. Available at www.valgprojektet.dk * please let me know if you have suggestions for improvement to the do-file. *stata version 15 applied *********CSES model 4 questionaire 2011 election********* ****Indlæser datasæt**** *set folder cd "/Users/czj968/Dropbox/CSES" use "Data27067.dta", clear // this dataset can be downloaded from Danish National Archives (Rigsarkivets Surveys) http://dda.dk/catalogue/27067 *********Administrative variable****** *ID-NUMMER *clonevar A1=v2 //obs findes ikke i dette datasæt gen A1 =_n label variable A1 "ID Component - Respondent within election study" *Interviewernr. gen A2=. label variable A2 "Interviewer within election study" *Interviewer gender *recode int_koen (1=1 "Male")(2=2 "Female"), gen(A3) //obs findes ikke i dette datasæt gen A3=. label variable A3 "Interviewer gender" *Weights clonevar A5a=V386 label variable A5a "Original Weight: Political and Demographic" clonevar A5b=V387 label variable A5b "Original Weight: Demographic1" clonevar A5c=V388 label variable A5c "Original Weight: Demographic2" drop V386 V387 V388 *Language gen str A6 = "Danish" label variable A6 "Language of questionnaire administration" *************CSES Module 4 questionnaire: CSES Module*********************** *Public expenditure: Health recode V162(3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1a) label variable Q1a "Public Expenditure: Health" drop V162 *Public expenditure: Education recode V163 (3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1b) label variable Q1b "Public Expenditure: Education" drop V163 *Public expenditure: Unemployment benefits recode V168 (3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1c) label variable Q1c "Public Expenditure: Unemployment Benefits" drop V168 *Public Expenditure: Defense recode V161 (3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1d) label variable Q1d "Public Expenditure: Defense" drop V161 *Public Expenditure: Old-age pensions recode V164 (3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1e) label variable Q1e "Public Expenditure: Old-age Pensions" drop V164 *Public Expenditure: Business and Industry gen Q1f=. label variable Q1f "Not asked in DNES - Public Expenditure: Business and Industry" *Public Expenditure: Police and Law Inforcement recode V174(3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1g) label variable Q1g "Public Expenditure: Police and Law Enforcement" drop V174 *Public Expenditure: Welfare benefits recode V169 (3=1 "Much more than now")(2=3 "The same as now")(1=5 "Much less than now")(8=8 "Don't know"), gen(Q1h) label variable Q1h "Public Expenditure: Welfare Benefits" *Improving Standard of living gen Q2=. label variable Q2 "Not asked in DNES - Improving Standard of Living" *State of Economy recode V146 (1 2=1 "Gotten better")(3=3 "Stayed the same")(4 5=3 "Gotten worse")(8=8 "Don't know"), gen(Q3) label variable Q3 "State of Economy 3 years ago til now" *State of Economy - Better recode V146 (1=1 "Much better")(2=2 "Somewhat better")(3 4 5 8=.), gen(Q3a) label variable Q3a "State of Economy - Better" *State of Economy - Worse recode V146 (4=4 "Somewhat worse")(5=5 "Much worse")(1 2 3 8=.), gen(Q3b) label variable Q3b "State of Economy - Worse" drop V146 *Government action - Differences in income levels recode V194 (1=1 "Strongly agree")(2=2 "Somewhat agree")(3=3 "Neither agree nor disagree")(4=4 "Somewhat disagree")(5=5 "Strongly disagree")(8=8 "Don't know"), gen(Q4) label variable Q4 "Government Action - Differences in Income Levels" drop V194 *Current Presidential Election (First Round): Did Respondent Cast a Ballot gen Q5P1a=. label variable Q5P1a "Not asked/not relevant in DNES - Current Presidential Election (First Round): Did Respondent Cast a Ballot" *Current Presidential Election (First Round): Vote Choice gen Q5P1b=. label variable Q5P1b "Not asked/not relevant in DNES - Current Presidential Election (First round): Vote Choice" *Current Presidential Election (Second Round): Did Respondent Cast a Ballot gen Q5P2a=. label variable Q5P2a "Not asked/not relevant in DNES - Current Presidential Election: Did Respondent Cat a Ballot" *Current Presidential Election (Second Round): Vote Choice gen Q5P2b=. label variable Q5P2b "Not asked/not relevant in DNES - Current Presidential Election: Vote Choice" *Current Lower House Election: Did Respondent Cast a Ballot recode V63 (1/11=1 "Respondent cast a ballot")(12=5 "Respondent did not cast a ballot"), gen(Q5LHa) label variable Q5LHa "Current Lower House Election: Did Respondent Cast a Ballot" *Current Lower House Election: Vote Choice - Party List recode V63(1=1 "Social Democrats")(2=2 "Social Liberals")(3=3 "Conservatives")(4=4 "Socialist People's Party")(5=5 "Liberal Alliance")(6=6 "Christian Democrats")(7=7 "Danish People's Party")(8=8 "Liberals")(9=9 "The Red-Green Alliance")(10=10 "Independent candidate") (11=11 "Blank vote")(12=12 "Did not vote"), gen(Q5LHb) label variable Q5LHb "Current Lower House: Vote Choice - Party List" drop V63 *Current Lower House Election: Vote Choice - District Candidate gen Q5LHc=. label variable Q5LHc "Not asked/not relevant in DNES - Current Lower House Election: Vote Choice - District Candidate" *Current Lower House Election: Did Respondent Cast Candidate Preference Vote gen Q5LHd=. label variable Q5LHd "Not asked in DNES - Current Lower House Election: Did Respondent Cast Candidate Preference vote" *Previous Election: Did Respondent Cast a Ballot recode V76 (1/11=1 "Respondent cast a ballot")(12=5 "Respondent did not cast a ballot")(13=6 "Not eligible to vote in last election"), gen(Q6a) label variable Q6a "Previous Election: Did Respondent Cast a Ballot" *Previous Election: Vote Choice - Party List recode V76 (1=1 "Social Democrats")(2=2 "Social Liberals")(3=3 "Conservatives")(4=4 "Socialist People's Party")(5=5 "Christian Democrats")(6=6 "Danish People's Party")(7=7 "Liberals")(8=8 "New Alliance")(9=9 "The Red-Green Alliance")(10=10 "Independent candidate") (11=11 "Blank vote")(12=12 "Did not vote")(13=13 "Not eligible to vote in last election"), gen(Q6b) label variable Q6b "Previous Election: Vote Choice - Party List" drop V76 *Previous Election: Vote Choice - District Candidate gen Q6c=. label variable Q6c "Not asked/not relevant in DNES - Previous Election: Vote Choice - District Candidate" *Who Is In Power Can Make A Big Difference recode V204 (1=1 "It Doesn't make any difference who is in power")(5=5 "It makes a big difference who is in power")(8=8 "Don't know"), gen(Q7) label variable Q7 "Who Is In Power Can Make A Big Difference" drop V204 *Who People Vote For Makes A Big Difference gen Q8=. label variable Q8 "Not asked in DNES - Who People Vote For Makes A Big Difference" *Like-Dislike - Social Democrats recode V77 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9a) label variable Q9a "Like-Dislike - Social Democrats" *Like-Dislike - Social Liberals recode V78 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9b) label variable Q9b "Like-Dislike - Social Liberals" *Like-Dislike - Conservatives recode V79 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9c) label variable Q9c "Like-Dislike - Conservatives" *Like-Dislike - Socialist People's Party recode V80 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9d) label variable Q9d "Like-Dislike - Socialist People's Party" *Like-Dislike - Liberal Alliance recode V81 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9e) label variable Q9e "Like-Dislike - Liberal Alliance" *Like-Dislike - Danish People's Party recode V82 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9f) label variable Q9f "Like-Dislike - Danish People's Party" *Like-Dislike - Liberals recode V83 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9g) label variable Q9g "Like-Dislike - Liberals" *Like-Dislike - The Red-Green Alliance recode V84 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about party")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q9h) label variable Q9h "Like-Dislike - The Red-Green Alliance" drop V77 V78 V79 V80 V81 V82 V83 V84 *Like-Dislike - Helle Thorning-Schmidt recode V85 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10a) label variable Q10a "Like-Dislike - Helle Thorning-Schmidt" *Like-Dislike - Margrethe Vestager recode V86 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10b) label variable Q10b "Like-Dislike - Margrethe Vestager" *Like-Dislike - Lars Barfoed recode V87 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10c) label variable Q10c "Like-Dislike - Lars Barfoed" *Like-Dislike - Villy Søvndal recode V88 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10d) label variable Q10d "Like-Dislike - Villy Søvndal" *Like-Dislike - Anders Samuelsen recode V89 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10e) label variable Q10e "Like-Dislike - Anders Samuelsen" *Like-Dislike - Pia Kjærsgaard recode V90 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10f) label variable Q10f "Like-Dislike - Pia Kjærsgaard" *Like-Dislike - Lars Løkke Rasmussen recode V91 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10g) label variable Q10g "Like-Dislike - Lars Løkke Rasmussen" *Like-Dislike - Johnanne Schmidt-Nielsen recode V92 (0=0 "Strongly dislike")(10=10 "Strongly like")(11=98 "Don't know enough about leader")(77=97 "Refused to answer")(88=95 "Don't know"), gen(Q10h) label variable Q10h "Like-Dislike - Johanne Schmidt-Nielsen" drop V85 V86 V87 V88 V89 V90 V91 V92 *Left-Right - Social Democrats recode V240 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11a) label variable Q11a "Left-Right - Social Democrats" *Left-Right - Social Liberals recode V241 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11b) label variable Q11b "Left-Right - Social Liberals" *Left-Right - Conservatives recode V242 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11c) label variable Q11c "Left-Right - Conservatives" *Left-Right - Socialist People's Party recode V243 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11d) label variable Q11d "Left-Right - Socialist People's Party" *Left-Right - Liberal Alliance recode V244 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11e) label variable Q11e "Left-Right - Liberal Alliance" *Left-Right - Danish People's Party recode V245 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11f) label variable Q11f "Left-Right - Danish People's Party" *Left-Right - Liberals recode V246 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11g) label variable Q11g "Left-Right - Liberals" *Left-Right - The Red-Green Alliance recode V247 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q11h) label variable Q11h "Left-Right - The Red-Green Alliance" *Left-Right - Self recode V239 (0=0 "Left")(10=10 "Right")(77=97 "Refused")(88=98 "Don't know"), gen(Q12) label variable Q12 "Left-Right - Self" drop V240 V241 V242 V243 V244 V245 V246 V247 V239 *Optional Alternative Scale - Party gen Q13=. label variable Q13 "Not asked in DNES - Optional Alternative Scale - Party" *Optional Alternative Scale - Self gen Q14=. label variable Q14 "Not asked in DNES - Optional Alternative Scale - Self" *Satisfaction With Democratic Process gen Q15=. label variable Q15 "Not asked in DNES - Satisfaction With Democratic Process" *Are You Close To Any Political Party recode V93 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q16) label variable Q16 "Are You Close To Any Political Party" *Do You Feel Closer To One Party recode V96 (1/10=1 "Yes")(11=5 "No")(88=8 "Don't know"), gen(Q16a) label variable Q16a "Do You Feel Closer To One Party" *Which Party Do You Feel Closest To - If Yes in Q16 recode V94 (1=1 "Social Democrats")(2=2 "Social Liberals")(3=3 "Conservatives")(4=4 "Socialist People's Party")(5=5 "Liberal Alliance")(6=6 "Christian Democrats")(7=7 "Danish People's Party")(8=8 "Liberals")(9=9 "The Red-Green Alliance")(10=10 "Other Party")(88=98 "Don't know"), gen(Q16b1) label variable Q16b1 "Which Party Do You Feel Closest To - If Yes in Q16" *Which Party Do You Feel Closest To - If Yes in Q16a recode V96 (1=1 "Social Democrats")(2=2 "Social Liberals")(3=3 "Conservatives")(4=4 "Socialist People's Party")(5=5 "Liberal Alliance")(6=6 "Christian Democrats")(7=7 "Danish People's Party")(8=8 "Liberals")(9=9 "The Red-Green Alliance")(10=10 "Other Party")(11=.)(88=98 "Don't know"), gen(Q16b2) label variable Q16b2 "Which Party Do You Feel Closest To - If Yes in Q16a" *Degree of Closeness To This Party - if yes in Q16 recode V95 (1=1 "Very Close")(2=3 "Not Very Close")(8=8 "Don't know"), gen(Q16c) label variable Q16c "Degree Of Closeness To This Party - if yes in Q16" drop V93 V94 V95 V96 *Mobilization: Institutional Contact gen Q17=. label variable Q17 "Mobilization: Institutional Contact" replace Q17=1 if V51==1| V52==1| V48==1| V49==1| V50==1 replace Q17=5 if V51==5 & V52==5 & V48==5 & V49==5 & V50==5 replace Q17=8 if V51==8 & V52==8 & V48==8 & V49==8 & V50==8 lab def Q17 1"Yes" 5"No" 8"Don't know" label values Q17 Q17 *Mobilization: Institutional Contact - In Person(House) recode V51 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q17a1) label variable Q17a1 "Mobilization: Institutional Contact -In Person(House)" *Mobilization: Institutional Contact - In Person(In The Street) recode V52 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q17a2) label variable Q17a2 "Mobilization: Institutional Contact -In Person(In The Street)" *Mobilization: Institutional Contact - By Mail recode V48 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q17b) label variable Q17b "Mobilization: Institutional Contact - By Mail" *Mobilization: Institutional Contact - By Phone gen Q17c=. label variable Q17c "Not asked in DNES - Mobilization Contact - By Phone" *Mobilization: Institutional Contact - By Text Message recode V49 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q17d) label variable Q17d "Mobilization: Institutional Contact - By Text Message" *Mobilization: Institutional Contact - By Email recode V50 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q17e) label variable Q17e "Mobilization: Institutional Contact - By Email" *Mobilization: Institutional Contact - Social Network Or Web gen Q17f=. label variable Q17f "Not asked in DNES - Mobilization: Institutional Contact - Social Network OR Web" *Mobilization: Institutional Contact - Who - Multiple Mentions gen Q17g=. label variable Q17g "Not asked in DNES - Mobilization: Institutional Contact - Who - Multiple Mentions" drop V51 V52 V48 V49 V50 *Mobilization: Personel Contact recode V54 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q18) label variable Q18 "Mobilization: Personal Contact" *Mobilization: Personal Contact - In Person gen Q18a=. label variable Q18a "Not asked in DNES - Mobilization: Personal Contact - In Person" *Mobilization: Personal Contact - By Mail gen Q18b=. label variable Q18b "Not asked in DNES - Mobilization: Personal Contact - By Mail" *Mobilization: Personal Contact - By Phone gen Q18c=. label variable Q18c "Not asked in DNES - Mobilization: Personal Contact - By Phone" *Mobilization: Personal Contact - By Text Message gen Q18d=. label variable Q18d "Not asked in DNES - Mobilization: Personal Contact - By Text Message" *Mobilization: Personal Contact - By Email gen Q18e=. label variable Q18e "Not asked in DNES - Mobilization: Personal Contact - By Email" *Mobilization: Personal Contact - Social Network OR Web gen Q18f=. label variable Q18f "Not asked in DNES - Mobilization: Personal Contact - Social Network Or Web" *Mobilization: Sign up for Online Information Or Alerts recode V53 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q19) label variable Q19 "Mobilization: Sign Up For Online Information Or Alerts" drop V53 *Political Information Item - 1st gen Q20a=. label variable Q20a "Not asked in DNES - Political Information Item - 1st" *Political Information Item - 2nd gen Q20b=. label variable Q20b "Not asked in DNES - Political Information Item - 2nd" *Political Information Item - 3rd gen Q20c=. label variable Q20c "Not asked in DNES - Political Information Item - 3rd" *Political Information Item - 4th gen Q20d=. label variable Q20d "Not asked in DNES - Political Information - 4th" *Household Income In The Three years recode V150 (5=1 "Very likely")(4=2 "Somewhat likely")(3=3 "No change")(2=4 "Somewhat unlikely")(1=5 "Very unlikely"), gen(Q21) label variable Q21 "Household Income In The Next Three Years" *Ownership: Residence (House or Apartment) recode V330 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q22a1) label variable Q22a1 "Ownership: Residence(House or Apartment)" *Ownership: Residence (Country House) recode V331 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q22a2) label variable Q22a2 "Ownership: Residence(Country House)" *Ownership: Business Or Property Or Farm recode V332 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q22b1) label variable Q22b1 "Ownership: Business Or Property Or Farm" *Ownership: Rental Property recode V333 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q22b2) label variable Q22b2 "Ownership: Rental Property" *Ownership: Stocks Or Bonds recode V334 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q22c) label variable Q22c "Ownership: Stocks OR Bonds" *Ownership: Savings recode V335 (1=1 "Yes")(5=5 "No")(8=8 "Don't know"), gen(Q22d) label variable Q22d "Ownership: Savings" drop V150 V330 V331 V332 V333 V334 V335 *Find Another Job - Respondent gen Q23a=. label variable Q23a "Not asked in DNES - Find Another Job - Respondent" *Find Another Job - Spouse/Partner gen Q23b=. label variable Q23b "Not asked in DNES - Find Another Job - Spouse/Partner" *************CSES Module 3 Questionaire: Demographic Variable********** *Date Of Birth Of Respondent - Month gen D1a=. label variable D1a "Date Of Birth Of Respondent - Month" *Date Of Birth Of Respondent - Year clonevar D1b=V8 label variable D1b "Date Of Birth Of Respondent - Year" drop V8 *Gender recode V7 (1=1 "Male")(5=2 "Female"), gen(D2) label variable D2 "Gender" drop V7 *Education gen D3=. label variable D3 "Education" replace D3=1 if V340<88 replace D3=2 if V340==2| V340==3|V340==4| V340==9|V340==10 replace D3=3 if V340==5| V340==6| V340==7| V340==8| V342==2| V342==3| V342==4| V342==5| V342==6 replace D3=4 if V342==1 replace D3=5 if V342==7| V342==11 replace D3=6 if V342==8| V342==9 replace D3=7 if V342==10 replace D3=98 if V342==88 lab def D3 1"Early childhood education" 2"Primary" 3"Upper secondary" /// 4"Post-secondary non-tertiary" 5"Short-cycle tertiary" 6"Bachelor or equivalent" /// 7"Master or equivalent" 98"Don't know" label values D3 D3 drop V340 V342 *Marital Or Civil Union Status recode V14 (2 3=1 "Married or living together as married")(5=2 "Widowed")(4=3 "Divorced or separated (married but seperated/not living with legal spouse)")(1=4 "Single, never married")(7=7 "Refused")(8=8 "Don't know"), gen(D4) label variable D4 "Marital Or Civil Union Status" *Union Memebership recode V343 (1=1 "R is member of a union")(5=2 "R is not a member of a union"), gen(D5) label variable D5 "Union Membership" *Union Membership Of Others In Household gen D6=. label variable D6 "Not asked in DNES - Union Memebership Of Others In Household" *Business Or Employers Association Membership gen D7=. label variable D7 "Not asked in DNES - Business Or Employers Association Membership" *Farmers Association Membership gen D8=. label variable D8 "Not asked in DNES - Farmers Association Membership" *Professionelt Assosiation Membership gen D9=. label variable D9 "Not asked in DNES - Professionel Association Membership" *Current Employment Status recode V348 (1 3=1 "Employed - Full time (32 or more hours weekly)")(2=2 "Employed - Part time")(4=4 "Helping family member")(10 11 12=5 "Unemployed")(5=6 "Student, in school, in vocational training")(8 9=7 "Retired")(6=8 "Housewife, Homemakers, Home Duties")(7=9 "Permently disabled")(13 14 15 16=10 "Others, not in labor force")(88=98 "Don't know"), gen(D10) label variable D10 "Current Employment Status" *Main occupation gen D2011=996 *Socio Economic Status recode V377 (2 3 4 5=1 "1. WHITE COLLAR") (6 7 8 =2 "2. WORKER") (1=4 "4. SELF-EMPLOYED") (9 10 .=9 "9. MISSING"), gen(D2012) *Employment Type - Public or Private recode V351 (3=1 "Public sector")(1 2=2 "Private sector")(4=3 "Mixed -Selfemployed")(5=.), gen(D13) label variable D13 "Employment Type - Public or Private" drop V351 *Industrial Sector gen D2014=9 //har ikke data til at kode i forskellige erhvervskategorier *Spouse/Partner: Current Employment Status gen D15=. label variable D15 "Not asked in DNES - Spouse/Partner: Current Employment Status" *Spouse/Partner: Occupation gen D16=. label variable D16 "Not asked in DNES - Spouse/Partner: Occupation" *Spouse: Socio Economic Status gen D17=. label variable D17 "Not askes in DNES - Spouse/Partner: Socio Economic Status" *Spouse: Employment Type - Public or Private gen D18=. label variable D18 "Not askes in DNES - Spouse Employment Type - Public or Private" *Spouse: Industrial Sector gen D19=. label variable D19 "Not asked in DNES - Spouse: Industrial Sector" *Household Income recode V327 (1/4=1 "Less than 100.000 to 249.999 kroner per year")(5/8=2 "250.000 to 449.999 kroner per year")(9/12=3 "450.000 to 799.999 kroner per year")(13/16=4 "800.000 to 1.199.999 kroner per year")(17/20=5 "1.200.000 to 1.500.000 kroner or more per year")(88=8 "Don't know"), gen(D20) label variable D20 "Household Income" drop V327 *Number In Household gen D21a=. replace D21a=1 if ((V14==1|V14==4| V14==5)&(V9==0)) replace D21a=2 if ((V14==2|V14==3)&(V9==0))|((V14==1|V14==4|V14==5)&(V9==1)) replace D21a=3 if ((V14==2|V14==3)&(V9==1))|((V14==1|V14==4|V14==5)&(V9==2)) replace D21a=4 if ((V14==2|V14==3)&(V9==2))|((V14==1|V14==4|V14==5)&(V9==3)) replace D21a=5 if ((V14==2|V14==3)&(V9==3))|((V14==1|V14==4|V14==5)&(V9==4)) replace D21a=6 if ((V14==2|V14==3)&(V9==4))|((V14==1|V14==4|V14==5)&(V9==5)) replace D21a=7 if ((V14==2|V14==3)&(V9==5))|((V14==1|V14==4|V14==5)&(V9==6)) replace D21a=8 if ((V14==2|V14==3)&(V9==6)) label variable D21a "Number In Household" *Number In Household Under Age 19 egen D21b = rowtotal(V10 V11 V12) label variable D21b "Number In Household Under Age 19" *Number In Household Under Age 6 clonevar D21c=V10 label variable D21c "Number In Household Under Age 6" drop V9 V10 V11 V12 V14 *Religious Service Attendance gen D22=. label variable D22 "Not asked in DNES - Religious Service Attendance" *Religiosity gen D23=. label variable D23 "Not asked in DNES - Religiosity" *Religious Denomination gen D24=. label variable D24 "Not asked in DNES - Religious Denomination" *Language Usually Spoken At Home gen D25=. label variable D25 "Not asked in DNES - Language Usually Spoken At Home" *Region of Residence clonevar D26=V385 label variable D26 "Region of Residence" drop V385 *Race gen D27=. label variable D27 "Not asked in DNES - Race" *Ethnicity gen D28=. label variable D28 "Not asked in DNES - Ethnicity" *Rural or Urban Residence recode V15 (7=1 "Rural area or village") /// (5 6=2 "Small or middle-sized town") /// (2 4=3 "Suburbs of large town or city")(1 3=4 "Large town or city"), gen(D29) label variable D29 "Rural or Urban Residence" drop V15 *Primary Electoral District gen D30=. label variable D30 "Not asked in DNES - Primary Electoral District" *Country of Birth gen D31=. label variable D31 "Not asked in DNES - Country of Birth" *Year Arrived In Current Country gen D32=. label variable D32 "Not asked in DNES - Year Arrived In Current Country" drop V1 V3 V5 V13 V17 V18 V20 V21 V23 V24 V26 V27 V28 V29 V30 V31 V32 V33 V34 V35 V36 V37 V38 /// V39 V40 V41 V42 V43 V44 V45 V46 V47 V54 V55 V56 V57 V58 V59 V60 V61 V62 V64 V65 V66 V67 V68 /// V69 V70 V71 V72 V73 V74 V75 V97 V98 V99 V100 V101 V102 V103 V104 V105 V106 V107 V108 V109 V110 V111 V112 V113 V114 V115 V116 V117 /// V118 V119 V120 V121 V122 V123 V124 V125 V126 V127 V128 V129 V130 V131 V132 V133 V134 V135 V136 V137 V138 V139 V140 V141 V142 V143 /// V144 V145 V147 V148 V149 V151 V152 V153 V154 V155 V156 V157 V158 V159 V160 V165 V166 V167 V169 V170 V171 V172 V173 V175 V176 V177 /// V178 V179 V180 V181 V182 V183 V184 V185 V186 V187 V188 V189 V190 V191 V192 V193 V195 V196 V197 V198 V199 V200 V201 V202 V203 V205 /// V207 V208 V209 V210 V211 V212 V213 V214 V215 V216 V217 V218 V219 V220 V221 V222 V224 V225 V226 V227 V228 V229 V230 V231 V232 V233 /// V234 V235 V236 V237 V238 V248 V249 V250 V251 V252 V253 V254 V255 V256 V257 V258 V259 V260 V261 V263 V262 V264 V265 V266 V267 V268 /// V269 V270 V271 V272 V273 V274 V275 V206 V276 V277 V278 V279 V280 V281 V282 V283 V284 V285 V286 V287 V288 V289 V290 V291 V292 V293 /// V294 V295 V296 V297 V298 V299 V300 V301 V302 V303 V304 V305 V306 V307 V308 V309 V310 V311 V312 V313 V314 V315 V316 V317 V318 V319 /// V320 V321 V322 V323 V324 V325 V326 V328 V329 V336 V337 V338 V339 V341 V344 V346 V347 V349 V352 V353 V355 V356 V357 V358 V359 V362 /// V363 V365 V366 V367 V368 V369 V371 V372 V373 V374 V375 V376 V377 V378 V379 V380 V381 V382 V383 V384 V389 V390 *************** Rekodninger af navne for 2011 variable ********************* *ID-variable i CSES: gen D1001 ="CSES-MODULE-4" label variable D1001 "DATASET" gen D1002_VER="VER2018-MAY-29" label variable D1002_VER "DATASET VERSION" gen D1002_DOI="doi:10.7804/cses.module4.2018-05-29" label variable D1002_DOI "DIGITAL OBJECT IDENTIFIER" gen D1003=20802011 gen D1004="DEN_2011" label variable D1004 "ID VARIABLE - ELECTION STUDY (ALPHABETIC POLITY)" gen D1006="2080" label variable D1006 "NA: ID COMPONENT - POLITY" gen D1006_UN="208" label variable D1006_UN "ID COMPONENT - POLITY UN CODE" gen D1006_NAM="Denmark" label variable D1006_NAM "ID COMPONENT - POLITY NAME" gen D1007=1 label variable D1007 "SAMPLE COMPONENT" gen D1008=2011 label variable D1008 "ID COMPONENT - ELECTION YEAR" *hvad er den her? rena A1 D1009 tostring D1009, replace rena A5a D1010_1 recode D1010_1 (.=1) rena A5b D1010_2 recode D1010_2 (.=1) rena A5c D1010_3 recode D1010_3 (.=1) egen D1005 = concat(D1006 D1008 D1009) label variable D1005 "ID VARIABLE - RESPONDENT" gen D1011_1=1 label variable D1011_1 "NA: FACTOR: MEAN OF SAMPLE WEIGHT" gen D1011_2=1 label variable D1011_2 "NA: FACTOR: MEAN OF DEMOGRAPHIC WEIGHT" gen D1011_3=1 label variable D1011_3 "NA: FACTOR: MEAN OF POLITICAL WEIGHT" gen D1012_1=1 label variable D1012_1 "NA: POLITY WEIGHT: SAMPLE" gen D1012_2=1 label variable D1012_2 "NA: POLITY WEIGHT: DEMOGRAPHIC" gen D1012_3=1 label variable D1012_3 "NA: POLITY WEIGHT: POLITIC" gen D1013=1 label variable D1013 "NA: FACTOR: SAMPLE SIZE ADJUSTMENT" gen D1014_1=1 label variable D1014_1 "NA: DATASET WEIGHT: SAMPLE" gen D1015=10 label variable D1015 "ELECTION TYPE" label define D1015 10 "10. PARLIAMENTARY/LEGISLATIVE" label values D1015 D1015 gen D1016=9 label variable D1016 "DATE 1ST ROUND ELECTION BEGAN - MONTH" label define D1016 9 "09. SEPTEMBER" label values D1016 D1016 gen D1017=15 label variable D1017 "DATE 1ST ROUND ELECTION BEGAN - DAY" gen D1018=2011 label variable D1018 "DATE 1ST ROUND ELECTION BEGAN - YEAR" gen D1019=99 label variable D1019 "DATE 2ND ROUND ELECTION BEGAN - MONTH" label define D1019 99 "99. MISSING" label values D1019 D1019 gen D1020=99 label variable D1020 "DATE 2ND ROUND ELECTION BEGAN - DAY" label values D1020 D1019 gen D1021=9999 label variable D1021 "DATE 2ND ROUND ELECTION BEGAN - YEAR" label values D1021 D1019 gen D1022=1 label variable D1022 "STUDY TIMING" label define D1022 1 "1. POST-ELECTION STUDY" 2 "2. PRE-ELECTION AND POST-ELECTION STUDY" 3 "3. BETWEEN ROUNDS" label values D1022 D1022 gen D1023=1 label variable D1023 "MODE OF INTERVIEW" label define D1023 1 "1. FACE-TO-FACE" 2 "2. TELEPHONE" 3 "3. MAIL OR SELF-COMPLETED SUPPLEMENT" 4 "4. INTERNET" 5 "5. COMBINATION OF FACE-TO-FACE AND SELF-ADMINISTERED" 6 "6. COMBINATION OF TELEPHONE AND SELF-ADMINISTERED" 9 "9. MISSING" label values D1023 D1023 rena A2 D1024 recode D1024 (. = 9999999) rena A3 D1025 recode D1025 (. =9) gen D1026=1 label variable D1026 "DATE QUESTIONNAIRE ADMINISTERED - MONTH" label define D1026 1 "01. JANUARY" label values D1026 D1026 gen D1027=4 label variable D1027 "DATE QUESTIONNAIRE ADMINISTERED - DAY" gen D1028=2012 label variable D1028 "DATE QUESTIONNAIRE ADMINISTERED - YEAR" gen D1029=1 label variable D1029 "DAYS INTERVIEW CONDUCTED POST ELECTION" gen D1030=29 drop A6 rena D1a D2001_M replace D2001_M=99 if D2001_M==. rena D1b D2001_Y recode D2001_Y (. = 9999) rena D2 D2002 recode D2002 (. =9) rena D3 D2003 recode D2003 (.=99) rena D4 D2004 recode D2004 (. =9) rena D5 D2005 recode D2005 (. =9) rena D6 D2006 replace D2006=9 if D2006==. rena D7 D2007 replace D2007=9 if D2007==. rena D8 D2008 replace D2008=9 if D2008==. rena D9 D2009 replace D2009=9 if D2009==. rena D10 D2010 recode D2010 (.=99) rena D13 D2013 recode D2013 (.=9) rena D15 D2015 replace D2015=99 if D2015==. rena D16 D2016 replace D2016=999 if D2016==. rena D17 D2017 replace D2017=9 if D2017==. rena D18 D2018 replace D2018=9 if D2018==. rena D19 D2019 replace D2019=9 if D2019==. rena D20 D2020 replace D2020=9 if D2020==. rena D21a D2021 replace D2021=99 if D2021==. rena D21b D2022 rena D21c D2023 replace D2023=99 if D2023==. rena D22 D2024 replace D2024=9 if D2024==. rena D23 D2025 replace D2025=9 if D2025==. rena D24 D2026 replace D2026=9999 if D2026==. rena D25 D2027 replace D2027=999 if D2027==. rena D26 D2028 replace D2028=99 if D2028==. rena D27 D2029 replace D2029=999 if D2029==. rena D28 D2030 replace D2030=999 if D2030==. rena D29 D2031 recode D2031 (.=9) rena D30 D2032 recode D2032 (.=99996) rena D31 D2033 replace D2033=999 if D2033==. rena D32 D2034 replace D2034=9999 if D2034==. rena Q1a D3001_1 recode D3001_1 (.=9) rena Q1b D3001_2 recode D3001_2 (.=9) rena Q1c D3001_3 recode D3001_3 (.=9) rena Q1d D3001_4 recode D3001_4 (.=9) rena Q1e D3001_5 recode D3001_5 (.=9) rena Q1f D3001_6 replace D3001_6=9 if D3001_6==. rena Q1g D3001_7 recode D3001_7 (.=9) rena Q1h D3001_8 recode D3001_8 (.=9) rena Q2 D3002 replace D3002=9 if D3002==. rena Q3 D3003_1 recode D3003_1 (.=9) (2=3) rena Q3a D3003_2 recode D3003_2 (.=9) rena Q3b D3003_3 recode D3003_3 (.=9) rena Q4 D3004 recode D3004 (.=9) rena Q5P1a D3005_PR_1 replace D3005_PR_1=9 if D3005_PR_1==. rena Q5P2a D3005_PR_2 replace D3005_PR_2=9 if D3005_PR_2==. rena Q5LHa D3005_LH recode D3005_LH (.=9) gen D3005_UH=999 label variable D3005_UH "CURRENT UPPER HOUSE ELECTION: DID RESPONDENT CAST A BALLOT" rena Q5P1b D3006_PR_1 replace D3006_PR_1=99 if D3006_PR_1==. rena Q5P2b D3006_PR_2 replace D3006_PR_2=99 if D3006_PR_2==. rena Q5LHb D3006_LH_PL recode D3006_LH_PL (.=99) rena Q5LHc D3006_LH_DC replace D3006_LH_DC=99 if D3006_LH_DC==. rena Q5LHd D3006_LH_PF replace D3006_LH_PF=9 if D3006_LH_PF==. gen D3006_UH_PL=997 label variable D3006_UH_PL "CURRENT UPPER HOUSE ELECTION: VOTE CHOICE - PARTY LIST" gen D3006_UH_DC=997 label variable D3006_UH_DC "CURRENT UPPER HOUSE ELECTION: VOTE CHOICE - DISTRICT CANDIDATE" gen D3006_UH_PF=997 label variable D3006_UH_PF "CURRENT UPPER HOUSE ELECTION: DID RESPONDENT CAST CANDIDATE" gen D3007_PR_1=9 label variable D3007_PR_1 "PREVIOUS PRESIDENTIAL ELECTION: DID RESPONDENT CAST A BALLOT 1ST ROUND" gen D3007_PR_2=9 label variable D3007_PR_2 "PREVIOUS PRESIDENTIAL ELECTION: DID RESPONDENT CAST A BALLOT 2ND ROUND" gen D3007_LH=9 label variable D3007_LH "PREVIOUS LOWER HOUSE ELECTION: DID RESPONDENT CAST A BALLOT 2ND ROUND" rena Q6a D3007_UH recode D3007_UH (.=999) gen D3008_PR_1=99 label variable D3008_PR_1 "PREVIOUS PRESIDENTIAL ELECTION: VOTE CHOICE 1ST ROUND" gen D3008_PR_2=99 label variable D3008_PR_2 "PREVIOUS PRESIDENTIAL ELECTION: VOTE CHOICE 2ND ROUND" rena Q6b D3008_LH_PL label variable D3008_LH_PL "PREVIOUS LOWER HOUSE ELECTION: VOTE CHOICE - PARTY LIST" recode D3008_LH_PL (.=99) gen D3008_LH_DC=99 label variable D3008_LH_DC "PREVIOUS LOWER HOUSE ELECTION: VOTE CHOICE - DISTRICT CANDIDATE" gen D3008_UH_PL=999 rena Q6c D3008_UH_DC_1 replace D3008_UH_DC_1=999 if D3008_UH_DC_1==. gen D3008_UH_DC_2=999 label variable D3008_UH_DC_2 "PREVIOUS UPPER HOUSE ELECTION: VOTE CHOICE - DISTRICT CANDIDATE 2ND ROUND" rena Q7 D3009 recode D3009 (.=9) rena Q8 D3010 replace D3010=9 if D3010==. *like-dislike party rena Q9a D3011_A recode D3011_A (.=99) (95=99) rena Q9b D3011_B recode D3011_B (.=99) (95=99) rena Q9c D3011_C recode D3011_C (.=99) (95=99) rena Q9d D3011_D recode D3011_D (.=99) (95=99) rena Q9e D3011_E recode D3011_E (.=99) (95=99) rena Q9f D3011_F recode D3011_F (.=99) (95=99) rena Q9g D3011_G recode D3011_G (.=99) (95=99) rena Q9h D3011_H recode D3011_H (.=99) (95=99) gen D3011_I=99 *like-dislike party leader rena Q10a D3012_A recode D3012_A (.=99) (95=99) rena Q10b D3012_B recode D3012_B (.=99) (95=99) rena Q10c D3012_C recode D3012_C (.=99) (95=99) rena Q10d D3012_D recode D3012_D (.=99) (95=99) rena Q10e D3012_E recode D3012_E (.=99) (95=99) rena Q10f D3012_F recode D3012_F (.=99) (95=99) rena Q10g D3012_G recode D3012_G (.=99) (95=99) rena Q10h D3012_H recode D3012_H (.=99) (95=99) gen D3012_I=99 label variable D3012_I "LIKE-DISLIKE - ADDITIONAL - LEADER I" *Left-right party rena Q11a D3013_A recode D3013_A (.=99) rena Q11b D3013_B recode D3013_B (.=99) rena Q11c D3013_C recode D3013_C (.=99) rena Q11d D3013_D recode D3013_D (.=99) rena Q11e D3013_E recode D3013_E (.=99) rena Q11f D3013_F recode D3013_F (.=99) rena Q11g D3013_G recode D3013_G (.=99) rena Q11h D3013_H recode D3013_H (.=99) gen D3013_I=99 label variable D3013_I "LEFT-RIGHT - ADDITIONAL - LEADER I" rena Q12 D3014 recode D3014 (.=99) replace Q13=99 if Q13==. gen D3015_A = Q13 label variable D3015_A "ALTERNATIVE SCALE - PARTY A" gen D3015_B = Q13 label variable D3015_B "ALTERNATIVE SCALE - PARTY B" gen D3015_C = Q13 label variable D3015_C "ALTERNATIVE SCALE - PARTY C" gen D3015_D = Q13 label variable D3015_D "ALTERNATIVE SCALE - PARTY D" gen D3015_E = Q13 label variable D3015_E "ALTERNATIVE SCALE - PARTY E" gen D3015_F = Q13 label variable D3015_F "ALTERNATIVE SCALE - PARTY F" gen D3015_G = Q13 label variable D3015_G "ALTERNATIVE SCALE - PARTY G" gen D3015_H = Q13 label variable D3015_H "ALTERNATIVE SCALE - PARTY H" gen D3015_I = Q13 label variable D3015_I "ALTERNATIVE SCALE - PARTY I" drop Q13 rena Q14 D3016 replace D3016=99 if D3016==. rena Q15 D3017 replace D3017=9 if D3017==. rena Q16 D3018_1 recode D3018_1 (.=9) rena Q16a D3018_2 recode D3018_2 (.=9) gen D3018_3=0 replace D3018_3=1 if Q16b1 == 1 | Q16b2 == 1 replace D3018_3=2 if Q16b1 == 2 | Q16b2 == 2 replace D3018_3=3 if Q16b1 == 3 | Q16b2 == 3 replace D3018_3=4 if Q16b1 == 4 | Q16b2 == 4 replace D3018_3=5 if Q16b1 == 5 | Q16b2 == 5 replace D3018_3=6 if Q16b1 == 6 | Q16b2 == 6 replace D3018_3=7 if Q16b1 == 7 | Q16b2 == 7 replace D3018_3=8 if Q16b1 == 8 | Q16b2 == 8 replace D3018_3=9 if Q16b1 == 9 | Q16b2 == 9 replace D3018_3=10 if Q16b1 == 10 | Q16b2 == 10 replace D3018_3=11 if Q16b1 == 11 | Q16b2 == 11 replace D3018_3=97 if Q16b1 == 97 | Q16b2 == 97 replace D3018_3=98 if Q16b1 == 98 | Q16b2 == 98 replace D3018_3=99 if Q16b1 == . & Q16b2 == . label variable D3018_3 "WHICH PARTY DO YOU FEEL CLOSEST TO" label values D3018_3 Q16b1, nofix drop Q16b1 Q16b2 rena Q16c D3018_4 recode D3018_4 (.=9) rena Q17 D3019 recode D3019 (.=9) codebook Q17a1 Q17a2, tab(100) gen D3020_1 =0 replace D3020_1=1 if Q17a1 == 1 | Q17a2 == 1 replace D3020_1=5 if Q17a1 == 5 | Q17a2 == 5 replace D3020_1=8 if Q17a1 == 8 | Q17a2 == 8 replace D3020_1=9 if Q17a1 == 9 | Q17a2 == 9 replace D3020_1=9 if Q17a1 == . & Q17a2 == . label variable D3020_1 "MOBILIZATION: INSTITUTIONAL CONTACT - IN PERSON" label values D3020_1 Q17A1, nofix drop Q17a1 Q17a2 rena Q17b D3020_2 recode D3020_2 (.=9) rena Q17c D3020_3 replace D3020_3=9 if D3020_3==. rena Q17d D3020_4 recode D3020_4 (.=9) rena Q17e D3020_5 recode D3020_5 (.=9) rena Q17f D3020_6 replace D3020_6=9 if D3020_6==. replace Q17g =99 if Q17g==. gen D3021_1 = Q17g label variable D3021_1 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 1ST MENTIONS" gen D3021_2 = Q17g label variable D3021_2 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 2ND MENTIONS" gen D3021_3 = Q17g label variable D3021_3 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 3RD MENTIONS" gen D3021_4 = Q17g label variable D3021_4 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 4TH MENTIONS" gen D3021_5 = Q17g label variable D3021_5 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 5TH MENTIONS" gen D3021_6 = Q17g label variable D3021_6 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 6TH MENTIONS" gen D3021_7 = Q17g label variable D3021_7 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 7TH MENTIONS" gen D3021_8 = Q17g label variable D3021_8 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 8TH MENTIONS" gen D3021_9 = Q17g label variable D3021_9 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 9TH MENTIONS" gen D3021_10 = Q17g label variable D3021_10 "MOBILIZATION: INSTITUTIONAL CONTACT - WHO - 10TH MENTIONS" drop Q17g rena Q18 D3022 recode D3022 (.=9) rena Q18a D3023_1 replace D3023_1=9 if D3023_1==. rena Q18b D3023_2 replace D3023_2=9 if D3023_2==. rena Q18c D3023_3 replace D3023_3=9 if D3023_3==. rena Q18d D3023_4 replace D3023_4=9 if D3023_4==. rena Q18e D3023_5 replace D3023_5=9 if D3023_5==. rena Q18f D3023_6 replace D3023_6=9 if D3023_6==. rena Q19 D3024 recode D3024 (.=9) rena Q20a D3025_1_A replace D3025_1_A=9 if D3025_1_A==. rena Q20b D3025_2_A replace D3025_2_A=9 if D3025_2_A==. gen D3025_2_A_PT=9 label variable D3025_2_A_PT "DICHOTOMIZED POLITICAL INFORMATION PRE-TEST - 2ND" rena Q20c D3025_3_A replace D3025_3_A=9 if D3025_3_A==. rena Q20d D3025_4_A replace D3025_4_A=9 if D3025_4_A==. gen D3025_4_A_PT=9 label variable D3025_4_A_PT "DICHOTOMIZED POLITICAL INFORMATION PRE-TEST - 4TH" gen D3025_1_B=9 label variable D3025_1_B "ORIGINAL POLITICAL INFORMATION ITEM - 1ST" gen D3025_2_B=9 label variable D3025_2_B "ORIGINAL POLITICAL INFORMATION ITEM - 2ND" gen D3025_2_B_PT=9 label variable D3025_2_B_PT "ORIGINAL POLITICAL INFORMATION ITEM PRE-TEST - 2ND" gen D3025_3_B=9 label variable D3025_3_B "ORIGINAL POLITICAL INFORMATION ITEM - 3RD" gen D3025_4_B=9 label variable D3025_4_B "ORIGINAL POLITICAL INFORMATION ITEM - 4TH" gen D3025_4_B_PT=9 label variable D3025_4_B_PT "ORIGINAL POLITICAL INFORMATION ITEM PRE-TEST - 4TH" rena Q21 D3026 recode D3026 (.=9) (3=2) rena Q22a1 D3027_1 recode D3027_1 (.=9) gen D3027_2=0 replace D3027_2=1 if Q22b1 == 1 | Q22b2 == 1 | Q22a2 == 1 replace D3027_2=5 if Q22b1 == 5 | Q22b2 == 5 | Q22a2 == 5 replace D3027_2=7 if Q22b1 == 7 | Q22b2 == 7 | Q22a2 == 7 replace D3027_2=8 if Q22b1 == 8 | Q22b2 == 8 | Q22a2 == 8 replace D3027_2=9 if Q22b1 ==. & Q22b2 ==. & Q22a2 ==. label variable D3027_2 "OWNERSHIP: BUSINESS OR PROPERTY OR FARM OR LIVESTOCK" drop Q22a2 Q22b2 Q22b1 rena Q22c D3027_3 recode D3027_3 (.=9) rena Q22d D3027_4 recode D3027_4 (.=9) rena Q23a D3028_1 replace D3028_1=9 if D3028_1==. rena Q23b D3028_2 replace D3028_2=9 if D3028_2==. * variable som handler om det politiske system i DK, sæder i parlamentet etc.: gen D4001=997 label variable D4001 "NUMBER OF SEATS IN DISTRICT" gen D4001_N=179 label variable D4001_N "NUMBER OF SEATS IN DISTRICT - NATIONWIDE ELECTORAL DISTRICT" gen D4002=9997 label variable D4002 "NUMBER OF CANDIDATES IN DISTRICT" gen D4002_N=9997 label variable D4002_N "NUMBER OF CANDIDATES IN DISTRICT - NATIONWIDE ELECTORAL DISTRICT" gen D4003=997 label variable D4003 "NUMBER OF PARTY LISTS IN DISTRICT" gen D4003_N=997 label variable D4003_N "NUMBER OF PARTY LISTS IN DISTRICT - NATIONWIDE ELECTORAL DISTRICT" gen D4004_A=997 label variable D4004_A "NA: PERCENT VOTE IN DISTRICT - PARTY A" gen D4004_B=997 label variable D4004_B "NA: PERCENT VOTE IN DISTRICT - PARTY B" gen D4004_C=997 label variable D4004_C "NA: PERCENT VOTE IN DISTRICT - PARTY C" gen D4004_D=997 label variable D4004_D "NA: PERCENT VOTE IN DISTRICT - PARTY D" gen D4004_E=997 label variable D4004_E "NA: PERCENT VOTE IN DISTRICT - PARTY E" gen D4004_F=997 label variable D4004_F "NA: PERCENT VOTE IN DISTRICT - PARTY F" gen D4004_G=997 label variable D4004_G "NA: PERCENT VOTE IN DISTRICT - PARTY G" gen D4004_H=997 label variable D4004_H "NA: PERCENT VOTE IN DISTRICT - PARTY H" gen D4004_I=997 label variable D4004_I "NA: PERCENT VOTE IN DISTRICT - PARTY I" gen D4004_A_N=997 label variable D4004_A_N "PERCENT VOTE IN DISTRICT - PARTY A - NATIONWIDE ELECTORAL DISTRICT" gen D4004_B_N=997 label variable D4004_B_N "PERCENT VOTE IN DISTRICT - PARTY B - NATIONWIDE ELECTORAL DISTRICT" gen D4004_C_N=997 label variable D4004_C_N "PERCENT VOTE IN DISTRICT - PARTY C - NATIONWIDE ELECTORAL DISTRICT" gen D4004_D_N=997 label variable D4004_D_N "PERCENT VOTE IN DISTRICT - PARTY D - NATIONWIDE ELECTORAL DISTRICT" gen D4004_E_N=997 label variable D4004_E_N "PERCENT VOTE IN DISTRICT - PARTY E - NATIONWIDE ELECTORAL DISTRICT" gen D4004_F_N=997 label variable D4004_F_N "PERCENT VOTE IN DISTRICT - PARTY F - NATIONWIDE ELECTORAL DISTRICT" gen D4004_G_N=997 label variable D4004_G_N "PERCENT VOTE IN DISTRICT - PARTY G - NATIONWIDE ELECTORAL DISTRICT" gen D4004_H_N=997 label variable D4004_H_N "PERCENT VOTE IN DISTRICT - PARTY H - NATIONWIDE ELECTORAL DISTRICT" gen D4004_I_N=997 label variable D4004_I_N "PERCENT VOTE IN DISTRICT - PARTY I - NATIONWIDE ELECTORAL DISTRICT" gen D4005=997 label variable D4005 "TURNOUT IN DISTRICT" gen D4005_N=997 label variable D4005_N "TURNOUT IN DISTRICT - NATIONWIDE ELECTORAL DISTRICT" gen D5001_A=24.8 label variable D5001_A "PERCENT VOTE - LOWER HOUSE - PARTY A" gen D5001_B=9.5 label variable D5001_B "PERCENT VOTE - LOWER HOUSE - PARTY B" gen D5001_C=4.9 label variable D5001_C "PERCENT VOTE - LOWER HOUSE - PARTY C" gen D5001_D=9.2 label variable D5001_D "PERCENT VOTE - LOWER HOUSE - PARTY D" gen D5001_E=5 label variable D5001_E "PERCENT VOTE - LOWER HOUSE - PARTY E" gen D5001_F=12.3 label variable D5001_F "PERCENT VOTE - LOWER HOUSE - PARTY F" gen D5001_G=26.7 label variable D5001_G "PERCENT VOTE - LOWER HOUSE - PARTY G" gen D5001_H=6.7 label variable D5001_H "PERCENT VOTE - LOWER HOUSE - PARTY H" gen D5001_I=999 label variable D5001_I "PERCENT VOTE - LOWER HOUSE - PARTY I" gen D5002_A=24.6 label variable D5002_A "PERCENT SEATS - LOWER HOUSE - PARTY A" gen D5002_B=9.5 label variable D5002_B "PERCENT SEATS - LOWER HOUSE - PARTY B" gen D5002_C=4.5 label variable D5002_C "PERCENT SEATS - LOWER HOUSE - PARTY C" gen D5002_D=8.9 label variable D5002_D "PERCENT SEATS - LOWER HOUSE - PARTY D" gen D5002_E=5 label variable D5002_E "PERCENT SEATS - LOWER HOUSE - PARTY E" gen D5002_F=12.3 label variable D5002_F "PERCENT SEATS - LOWER HOUSE - PARTY F" gen D5002_G=26.3 label variable D5002_G "PERCENT SEATS - LOWER HOUSE - PARTY G" gen D5002_H=6.7 label variable D5002_H "PERCENT SEATS - LOWER HOUSE - PARTY H" gen D5002_I=999 label variable D5002_I "PERCENT SEATS -LOWER HOUSE - PARTY I" gen D5003_A=996 label variable D5003_A "PERCENT VOTE - UPPER HOUSE - PARTY A" gen D5003_B=996 label variable D5003_B "PERCENT VOTE - UPPER HOUSE - PARTY B" gen D5003_C=996 label variable D5003_C "PERCENT VOTE - UPPER HOUSE - PARTY C" gen D5003_D=996 label variable D5003_D "PERCENT VOTE - UPPER HOUSE - PARTY D" gen D5003_E=996 label variable D5003_E "PERCENT VOTE - UPPER HOUSE - PARTY E" gen D5003_F=996 label variable D5003_F "PERCENT VOTE - UPPER HOUSE - PARTY F" gen D5003_G=996 label variable D5003_G "PERCENT VOTE - UPPER HOUSE - PARTY G" gen D5003_H=996 label variable D5003_H "PERCENT VOTE - UPPER HOUSE - PARTY H" gen D5003_I=996 label variable D5003_I "PERCENT VOTE - UPPER HOUSE - PARTY I" gen D5004_A=996 label variable D5004_A "PERCENT SEATS - UPPER HOUSE - PARTY A" gen D5004_B=996 label variable D5004_B "PERCENT SEATS - UPPER HOUSE - PARTY B" gen D5004_C=996 label variable D5004_C "PERCENT SEATS - UPPER HOUSE - PARTY C" gen D5004_D=996 label variable D5004_D "PERCENT SEATS - UPPER HOUSE - PARTY D" gen D5004_E=996 label variable D5004_E "PERCENT SEATS - UPPER HOUSE - PARTY E" gen D5004_F=996 label variable D5004_F "PERCENT SEATS - UPPER HOUSE - PARTY F" gen D5004_G=996 label variable D5004_G "PERCENT SEATS - UPPER HOUSE - PARTY G" gen D5004_H=996 label variable D5004_H "PERCENT SEATS - UPPER HOUSE - PARTY H" gen D5004_I=996 label variable D5004_I "PERCENT SEATS -LOWER HOUSE - PARTY I" gen D5005_A=997 label variable D5005_A "PERCENT VOTE - PRESIDENT - PARTY A" gen D5005_B=997 label variable D5005_B "PERCENT VOTE - PRESIDENT - PARTY B" gen D5005_C=997 label variable D5005_C "PERCENT VOTE - PRESIDENT - PARTY C" gen D5005_D=997 label variable D5005_D "PERCENT VOTE - PRESIDENT - PARTY D" gen D5005_E=997 label variable D5005_E "PERCENT VOTE - PRESIDENT - PARTY E" gen D5005_F=997 label variable D5005_F "PERCENT VOTE - PRESIDENT - PARTY F" gen D5005_G=997 label variable D5005_G "PERCENT VOTE - PRESIDENT - PARTY G" gen D5005_H=997 label variable D5005_H "PERCENT VOTE - PRESIDENT - PARTY H" gen D5005_I=997 label variable D5005_I "PERCENT VOTE - PRESIDENT - PARTY I" gen D5006_1=87.74 label variable D5006_1 "ELECTORAL TURNOUT 1 - TURNOUT AS A PERCENTAGE OF REGISTERED VOTERS (ER)" gen D5006_2=87.74 label variable D5006_2 "ELECTORAL TURNOUT 2 - TURNOUT AS A PERCENTAGE OF VOTING AGE POPULATION (VAP)" gen D5007=97 label variable D5007 "NA: PARTY OF THE PRESIDENT BEFORE" gen D5008=7 label variable D5008 "PARTY OF THE PRIME MINISTER BEFORE" gen D5009_A=0 label variable D5009_A "NUMBER OF PORTFOLIOS BEFORE - PARTY A" gen D5009_B=0 label variable D5009_B "NUMBER OF PORTFOLIOS BEFORE - PARTY B" gen D5009_C=6 label variable D5009_C "NUMBER OF PORTFOLIOS BEFORE - PARTY C" gen D5009_D=0 label variable D5009_D "NUMBER OF PORTFOLIOS BEFORE - PARTY D" gen D5009_E=0 label variable D5009_E "NUMBER OF PORTFOLIOS BEFORE - PARTY E" gen D5009_F=0 label variable D5009_F "NUMBER OF PORTFOLIOS BEFORE - PARTY F" gen D5009_G=12 label variable D5009_G "NUMBER OF PORTFOLIOS BEFORE - PARTY G" gen D5009_H=0 label variable D5009_H "NUMBER OF PORTFOLIOS BEFORE - PARTY H" gen D5009_I=999 label variable D5009_I "NUMBER OF PORTFOLIOS BEFORE - PARTY I" gen D5010=18 label variable D5010 "SIZE OF THE CABINET BEFORE" gen D5011=97 label variable D5011 "PARTY OF THE PRESIDENT AFTER" gen D5012=1 label variable D5012 "PARTY OF THE PRIME MINISTER AFTER" gen D5013_A=12 label variable D5013_A "NUMBER OF PORTFOLIOS AFTER - PARTY A" gen D5013_B=6 label variable D5013_B "NUMBER OF PORTFOLIOS AFTER - PARTY B" gen D5013_C=0 label variable D5013_C "NUMBER OF PORTFOLIOS AFTER - PARTY C" gen D5013_D=8 label variable D5013_D "NUMBER OF PORTFOLIOS AFTER - PARTY D" gen D5013_E=0 label variable D5013_E "NUMBER OF PORTFOLIOS AFTER - PARTY E" gen D5013_F=0 label variable D5013_F "NUMBER OF PORTFOLIOS AFTER - PARTY F" gen D5013_G=0 label variable D5013_G "NUMBER OF PORTFOLIOS AFTER - PARTY G" gen D5013_H=0 label variable D5013_H "NUMBER OF PORTFOLIOS AFTER - PARTY H" gen D5013_I=999 label variable D5013_I "NUMBER OF PORTFOLIOS AFTER - PARTY I" gen D5014=21 label variable D5014 "SIZE OF THE CABINET AFTER" gen D5015=9 label variable D5015 "NUMBER OF PARTIES PARTICIPATING IN ELECTION" gen D5016_A=4 label variable D5016_A "IDEOLOGICAL FAMILY - PARTY A" gen D5016_B=5 label variable D5016_B "IDEOLOGICAL FAMILY - PARTY B" gen D5016_C=9 label variable D5016_C "IDEOLOGICAL FAMILY - PARTY C" gen D5016_D=3 label variable D5016_D "IDEOLOGICAL FAMILY - PARTY D" gen D5016_E=6 label variable D5016_E "IDEOLOGICAL FAMILY - PARTY E" gen D5016_F=10 label variable D5016_F "IDEOLOGICAL FAMILY - PARTY F" gen D5016_G=6 label variable D5016_G "IDEOLOGICAL FAMILY - PARTY G" gen D5016_H=3 label variable D5016_H "IDEOLOGICAL FAMILY - PARTY H" gen D5016_I=99 label variable D5016_I "IDEOLOGICAL FAMILY - PARTY I" gen D5017_A=99 label variable D5017_A "NA: LEFT-RIGHT - PARTY A" gen D5017_B=99 label variable D5017_B "NA: LEFT-RIGHT - PARTY B" gen D5017_C=99 label variable D5017_C "NA: LEFT-RIGHT - PARTY C" gen D5017_D=99 label variable D5017_D "NA: LEFT-RIGHT - PARTY D" gen D5017_E=99 label variable D5017_E "NA: LEFT-RIGHT - PARTY E" gen D5017_F=99 label variable D5017_F "NA: LEFT-RIGHT - PARTY F" gen D5017_G=99 label variable D5017_G "NA: LEFT-RIGHT - PARTY G" gen D5017_H=99 label variable D5017_H "NA: LEFT-RIGHT - PARTY H" gen D5017_I=99 label variable D5017_I "NA: LEFT-RIGHT - PARTY I" gen D5018=5 label variable D5018 "ALTERNATIVE DIMENSION" gen D5018_A=99 label variable D5018_A "ALTERNATIVE DIMENSION - PARTY A" gen D5018_B=99 label variable D5018_B "ALTERNATIVE DIMENSION - PARTY B" gen D5018_C=99 label variable D5018_C "ALTERNATIVE DIMENSION - PARTY C" gen D5018_D=99 label variable D5018_D "ALTERNATIVE DIMENSION - PARTY D" gen D5018_E=99 label variable D5018_E "ALTERNATIVE DIMENSION - PARTY E" gen D5018_F=99 label variable D5018_F "ALTERNATIVE DIMENSION - PARTY F" gen D5018_G=99 label variable D5018_G "ALTERNATIVE DIMENSION - PARTY G" gen D5018_H=99 label variable D5018_H "ALTERNATIVE DIMENSION - PARTY H" gen D5018_I=99 label variable D5018_I "ALTERNATIVE DIMENSION - PARTY I" gen D5019_1=999 label variable D5019_1 "NA: MOST SALIENT FACTORS IN ELECTION - 1ST" gen D5019_2=999 label variable D5019_2 "NA: MOST SALIENT FACTORS IN ELECTION - 2ND" gen D5019_3=999 label variable D5019_3 "NA: MOST SALIENT FACTORS IN ELECTION - 3RD" gen D5019_4=999 label variable D5019_4 "NA: MOST SALIENT FACTORS IN ELECTION - 4TH" gen D5019_5=999 label variable D5019_5 "NA: MOST SALIENT FACTORS IN ELECTION - 5TH" gen D5020=1 label variable D5020 "FAIRNESS OF THE ELECTION" label define D5020 1 "1. VERY IMPARTIAL" 2 "MOSTLY IMPARTIAL" label values D5020 D5020 gen D5021=5 label variable D5021 "FORMAL COMPLAINTS ABOUT NATIONAL LEVEL RESULTS" label define D5021 1 "YES" 5 "5. NO" label values D5021 D5021 gen D5022=5 label variable D5022 "ELECTION IRREGULARITIES REPORTED" label define D5022 1 "YES" 5 "5. NO" 6 "NO INTERNATIONAL ELECTION REPORTERS" label values D5022 D5022 gen D5023_1=8 label variable D5023_1 "DATE ELECTION SCHEDULED - MONTH" label define D5023_1 1 "01. JANUARY" 2 "02. FEBRUARY" 3 "03. MARCH" 4 "04. APRIL" 5 "05. MAY" 6 "06. JUNE" 7. "07. JULY" 8 "08. AUGUST" 9 "09. SEPTEMBER" 10 "10. OCTOBER" 11 "11. NOVEMBER" 12 "12. DECEMBER" label values D5023_1 D5023_1 gen D5023_2=26 label variable D5023_2 "DATE ELECTION SCHEDULED - DAY" gen D5023_3=2011 label variable D5023_3 "DATE ELECTION SCHEDULED - YEAR" gen D5024_1=9 label variable D5024_1 "DATE ELECTION HELD - MONTH" label values D5024_1 D5023_1 gen D5024_2=15 label variable D5024_2 "DATE ELECTION HELD - DAY" gen D5024_3=2011 label variable D5024_3 "DATE ELECTION HELD - YEAR" gen D5025=0 label variable D5025 "ELECTION DATE IRREGULARITIES" label define D5025 0 "0. ELECTION WAS HELD ON THE SAME DAY AS SCHEDULED" 1 "1. ELECTION WAS NOT HELD ON THE SAME DAY AS SCHEDULED [SEE ELECTION STUDY NOTES]" label values D5025 D5025 gen D5026=1 label variable D5026 "ELECTION VIOLENCE" label define D5026 1 "1. NO VIOLENCE AT ALL" 2 "2. SPORADIC VIOLENCE ON THE PART OF THE GOVERNMENT" 4 "4. SPORADIC VIOLENCE ON ALL SIDES" 6 "6. SIGNIFICANT VIOLENCE ON THE PART OF OPPOSITION GROUPS" label values D5026 D5026 gen D5027=1 label variable D5027 "GEOGRAPHIC CONCENTRATION OF VIOLENCE" label define D5027 1 "1. NO ELECTION VIOLENCE" 2 "2. GEOGRAPHICALLY CONCENTRATED" 3 "3. NATIONAL" gen D5028=1 label variable D5028 "POST-ELECTION VIOLENCE" label values D5028 D5026 gen D5029=1 label variable D5029 "POST-ELECTION PROTEST" label define D5029 1 "1. NO PROTEST AT ALL" 2 "2. SPORADIC PROTEST" 3 "3. SIGNIFICANT PROTEST" label values D5029 D5029 gen D5030=5 label variable D5030 "ELECTORAL ALLIANCES PERMITTED IN ELECTION" label define D5030 1 "1. YES" 5 "5. NO" label values D5030 D5030 gen D5031=5 label variable D5031 "ELECTORAL ALLIANCES IN PRACTICE" label values D5031 D5030 gen D5032=7 label variable D5032 "DID ANY ELECTORAL ALLIANCES FORM?" label define D5032 1 "1. YES" 5 "5. NO" 7 "7. NOT APPLICABLE [NO ALLIANCES PERMITTED]" label values D5032 D5032 gen D5033=7 label variable D5033 "REQUIREMENTS FOR JOINT PARTY LISTS" label values D5033 D5033 gen D5034=5 label variable D5034 "THE POSSIBILITY OF APPARENTEMENT" label values D5034 D5030 gen D5035=7 label variable D5035 "TYPES OF APPARENTEMENT AGREEMENTS" label define D5035 1 "1. LISTS OF THE SAME PARTY IN THE SAME CONSTITUENCY" 3 "3. LISTS OF DIFFERENT PARTIES IN THE SAME CONSTITUENCY" 7 "7. NOT APPLICABLE; NO APPARENTEMENT" label values D5035 D5035 gen D5036=5 label variable D5036 "MULTI-PARTY ENDORSEMENTS" label values D5036 D5030 gen D5037=7 label variable D5037 "MULTI-PARTY ENDORSEMENTS ON BALLOT" label define D5037 1 "1. NO" 2 "2. NO PARTY ENDORSEMENTS ARE INDICATED ON THE BALLOT PAPER" 3 "3. YES, CANDIDATES NAME APPEARS ONCE, TOGETHER WITH THE NAMES OF ALL SUPPORTING PARTIES" 4 "4. YES, CANDIDATES NAME APPEARSAS MANY TIMES AS THERE ARE DIFFERENT PARTIES ENDORSING HIM or HER, EACH TIME WITH THE NA" 5 "5. YES, OTHER [SEE ELECTION STUDY NOTES]" 7 "7. NOT APPLICABLE" label values D5037 D5037 gen D5038_1=1 label variable D5038_1 "VOTE CAST - LOWER - 1ST SEGMENT" label define D5038 91 "91. 0THER [SEE ELECTION STUDY NOTES]" 97 "97. NOT APPLICABLE" label values D5038_1 D5038 gen D5038_2=97 label variable D5038_2 "VOTE CAST - LOWER - 2ND SEGMENT" label values D5038_2 D5038 gen D5038_3=97 label variable D5038_3 "VOTE CAST - UPPER - 1ST SEGMENT" label values D5038_3 D5038 gen D5038_4=97 label variable D5038_4 "VOTE CAST - UPPER - 2ND SEGMENT" label values D5038_4 D5038 gen D5039_1=1 label variable D5039_1 "VOTING PROCEDURE - LOWER - 1ST SEGMENT" label define D5039 1 "1. CANDIDATES" 2 "2. PARTY LISTS" 4 "4. OTHER [SEE ELECTION STUDY NOTES]" 7 "7. NOT APPLICABLE" label values D5039_1 D5039 gen D5039_2=7 label variable D5039_2 "VOTING PROCEDURE - LOWER - 2ND SEGMENT" label values D5039_2 D5039 gen D5039_3=7 label variable D5039_3 "VOTING PROCEDURE - UPPER - 1ST SEGMENT" label values D5039_3 D5039 gen D5039_4=7 label variable D5039_4 "VOTING PROCEDURE - UPPER - 2ND SEGMENT" label values D5039_4 D5039 gen D5040_1=1 label variable D5040_1 "VOTING ROUNDS - LOWER - 1ST SEGMENT" label define D5040 97 "97. NOT APPLICABLE" label values D5040_1 D5040 gen D5040_2=97 label variable D5040_2 "VOTING ROUNDS - LOWER - 1ST SEGMENT" label values D5040_2 D5040 gen D5040_3=97 label variable D5040_3 "VOTING ROUNDS - UPPER - 1ST SEGMENT" label values D5040_3 D5040 gen D5040_4=97 label variable D5040_4 "VOTING ROUNDS - UPPER - 1ST SEGMENT" label values D5040_4 D5040 gen D5041_1=2 label variable D5041_1 "PARTY LISTS - LOWER - 1ST SEGMENT" label define D5041 1 "1. CLOSED" 2 "2. OPEN" 3 "3. FLEXIBLE" 7 "7. NOT APPLICABLE" label values D5041_1 D5041 gen D5041_2=7 label variable D5041_1 "PARTY LISTS - LOWER - 2ND SEGMENT" label values D5041_2 D5041 gen D5041_3=7 label variable D5041_1 "PARTY LISTS - UPPER - 1ST SEGMENT" label values D5041_3 D5041 gen D5041_4=7 label variable D5041_1 "PARTY LISTS - UPPER - 2ND SEGMENT" label values D5041_4 D5041 gen D5042_1=5 label variable D5042_1 "TRANSFERABLE VOTES - LOWER - 1ST SEGMENT" label define D5042 1 "1. YES" 5 "5. NO" 7 "7.NOT APPLICABLE" 9 "9. MISSING" label values D5042_1 D5042 gen D5042_2=7 label variable D5042_2 "TRANSFERABLE VOTES - LOWER - 2ND SEGMENT" label values D5042_2 D5042 gen D5042_3=7 label variable D5042_3 "TRANSFERABLE VOTES - UPPER - 1ST SEGMENT" label values D5042_3 D5042 gen D5042_4=7 label variable D5042_4 "TRANSFERABLE VOTES - UPPER - 2ND SEGMENT" label values D5042_4 D5042 gen D5043_1=5 label variable D5043_1 "CUMULATED VOTES - LOWER - 1ST SEGMENT" label values D5043_1 D5042 gen D5043_2=7 label variable D5043_2 "CUMULATED VOTES - LOWER - 2ND SEGMENT" label values D5043_2 D5042 gen D5043_3=7 label variable D5043_3 "CUMULATED VOTES - UPPER - 1ST SEGMENT" label values D5043_3 D5042 gen D5043_4=7 label variable D5043_4 "CUMULATED VOTES - UPPER - 2ND SEGMENT" label values D5043_4 D5042 gen D5044_1=5 label variable D5044_1 "COMPULSORY VOTING - LOWER - 1ST SEGMENT" label values D5044_1 D5042 gen D5044_2=7 label variable D5044_2 "COMPULSORY VOTING - LOWER - 2ND SEGMENT" label values D5044_2 D5042 gen D5044_3=7 label variable D5044_3 "COMPULSORY VOTING - UPPER - 1ST SEGMENT" label values D5044_3 D5042 gen D5044_4=7 label variable D5044_4 "COMPULSORY VOTING - UPPER - 2ND SEGMENT" label values D5044_4 D5042 gen D5045_1=1 label variable D5045_1 "IS THERE PARTY THRESHOLD - LOWER - 1ST SEGMENT" label define D5045 1 "1. YES" 5 "5. NO" 7 "7.NOT APPLICABLE" label values D5045_1 D5045 gen D5045_2=7 label variable D5045_2 "IS THERE PARTY THRESHOLD - LOWER - 2ND SEGMENT" label values D5045_2 D5045 gen D5045_3=7 label variable D5045_3 "IS THERE PARTY THRESHOLD - UPPER - 1ST SEGMENT" label values D5045_3 D5045 gen D5045_4=7 label variable D5045_4 "IS THERE PARTY THRESHOLD - UPPER - 2ND SEGMENT" label values D5045_4 D5045 gen D5046_1=2 label variable D5046_1 "PARTY THRESHOLD - LOWER - 1ST SEGMENT" label define D5046 0 "00. THERE IS NO THRESHOLD" 96 "96. OTHER THRESHOLD [SEE ELECTION STUDY NOTES]" 97 "97. NOT APPLICABLE" label values D5046_1 D5046 gen D5046_2=97 label variable D5046_2 "PARTY THRESHOLD - LOWER - 2ND SEGMENT" label values D5046_2 D5046 gen D5046_3=97 label variable D5046_3 "PARTY THRESHOLD - UPPER - 1ST SEGMENT" label values D5046_3 D5046 gen D5046_4=97 label variable D5046_4 "PARTY THRESHOLD - UPPER - 2ND SEGMENT" label values D5046_4 D5046 gen D5047_1=2 label variable D5047_1 "UNIT FOR THE THRESHOLD - LOWER - 1ST SEGMENT" label define D5047 1 "1. PERCENT OF TOTAL VOTES" 2 "2. PERCENT OF VALID VOTES" 4 "4. OTHER [SEE ELECTION STUDY NOTES]" 7 "7. NOT APPLICABLE" label values D5047_1 D5047 gen D5047_2=7 label variable D5047_2 "UNIT FOR THE THRESHOLD - LOWER - 2ND SEGMENT" label values D5047_2 D5047 gen D5047_3=7 label variable D5047_3 "UNIT FOR THE THRESHOLD - UPPER - 1ST SEGMENT" label values D5047_3 D5047 gen D5047_4=7 label variable D5047_4 "UNIT FOR THE THRESHOLD - UPPER - 2ND SEGMENT" label values D5047_4 D5047 *overgår til forskellige internationale ratings og tal på Danmarks status ift. andre gen D5050_1=1 label variable D5050_1 "FREEDOM HOUSE RATING - TIME T" gen D5050_2=1 label variable D5050_2 "FREEDOM HOUSE RATING - TIME T-1 YEAR" gen D5050_3=1 label variable D5050_3 "FREEDOM HOUSE RATING - TIME T-2 YEARS" gen D5051_1=10 label variable D5051_1 "DEMOCRACY-AUTOCRACY POLITY IV RATING - TIME T" label define D5051 0 "00. AUTOCRATIC" 10 "10. DEMOCRATIC" 99 "99. MISSING" label values D5051_1 D5051 gen D5051_2=10 label variable D5051_2 "DEMOCRACY-AUTOCRACY POLITY IV RATING - TIME T-1 YEAR" label values D5051_2 D5051 gen D5051_3=10 label variable D5051_3 "DEMOCRACY-AUTOCRACY POLITY IV RATING - TIME T-2 YEARS" label values D5051_3 D5051 gen D5052=162 //siden grundloven 1849-2011 label variable D5052 "AGE OF THE CURRENT REGIME" gen D5054=1 label variable D5054 "REGIME: TYPE OF EXECUTIVE" label define D5054 1 "1. PARLIAMENTARY DEMOCRACY" 2 "2. MIXED DEMOCRACY" 3 "3. PRESIDENTIAL DEMOCRACY" label values D5054 D5054 gen D5055=47 label variable D5055 "NUMBER OF MONTHS SINCE LAST LOWER HOUSE ELECTION" gen D5056=997 label variable D5056 "NUMBER OF MONTHS SINCE LAST PRESIDENTIAL ELECTION" label define D5056 997 "997. NOT APPLICABLE" label values D5056 D5056 gen D5057=7 label variable D5057 "PRESIDENTIAL ELECTIONS ELECTORAL FORMULA" label define D5057 1 "1.PLURALITY" 2 "2. ABSOLUTE MAJORITY RULE" 3 "3. QUALIFIED MAJORITY RULE" 4 "4. ELECTORAL COLLEGE" 5 "5. SINGLE TRANSFERABLE VOTE" 7 "7. NOT APPLICABLE" label values D5057 D5057 gen D5058=2 label variable D5058 "ELECTORAL FORMULA IN ALL ELECTORAL TIERS" label define D5058 1 "1. MAJORITAN" 2 "2. PROPORTIONAL" 3 "3. IXED" label values D5058 D5058 gen D5059=1 label variable D5059 "NUMBER OF ELECTORAL TIERS" gen D5060=5 label variable D5060 "LINKED ELECTORAL TIERS" label define D5060 1 "1. YES" 5 "5. NO" 7 "7. NOT APPLICABLE" label values D5060 D5060 gen D5061=7 label variable D5061 "DEPENDENT FORMULAE IN MIXED SYSTEMS" label define D5061 1 "1. INDEPENDENT" 3 "3. DEPENDENT" 7 "7. NOT APPLICABLE" label values D5061 D5061 gen D5062=7 label variable D5062 "SUBTYPES OF MIXED ELECTORAL SYSTEMS" label define D5062 2 "2. SUPERPOSITION" 4 "4. CORRECTION" 5 "5. CONDITIONAL" 7 "7. NOT APPLICABLE" label values D5062 D5062 gen D5063=1 label variable D5063 "NUMBER OF ELECTORAL DISTRICTS - LOWEST TIER - LOWER HOUSE" gen D5064=1 label variable D5064 "AVERAGE DISTRICT MAGNITUDE - LOWEST TIER - LOWER HOUSE" gen D5065=34 label variable D5065 "ELECTORAL FORMULA - LOWEST TIER - LOWER HOUSE" label define D5065 11 "11. PLURALITY - SINGLE MEMBER DISTRICTS" 21 "21. MAJORITY - RUN-OFF" 22 "22. MAJORITY - ALTERNATIVE" 31 "31. PR - DHONDT" 32 "32. PR - LARGEST REMAINDER - DROOP" 33 "33. PR - LARGEST REMAINDER - HARE" 34 "34. PR - MODIFIED STE-LAGUE" label values D5065 D5065 gen D5066=997 label variable D5066 "NUMBER OF ELECTORAL DISTRICTS- SECOND TIER - LOWER HOUSE" label define D5066 997 "997. NOT APPLICABLE" label values D5066 D5066 gen D5067=997 label variable D5067 "AVERAGE DISTRICT MAGNITUDE - SECOND TIER - LOWER HOUSE" label values D5067 D5066 gen D5068=97 label variable D5068 "ELECTORAL FORMULA - SECOND TIER - LOWER HOUSE" label define D5068 97 "97. NOT APPLICABLE" label values D5068 D5068 gen D5069=997 label variable D5069 "NUMBER OF ELECTORAL DISTRICTS - THIRD TIER - LOWER HOUSE" label values D5069 D5066 gen D5070=997 label variable D5070 "AVERAGE DISTRICT MAGNITUDE - THIRD TIER - LOWER HOUSE" label values D5070 D5066 gen D5071=97 label variable D5071 "ELECTORAL FORMULA - THIRD TIER - LOWER HOUSE" label values D5071 D5068 gen D5072=0 label variable D5072 "NUMBER OF SEATS ABOVE THE FIRST TIER - LOWER HOUSE" gen D5073=0 label variable D5073 "PERCENTAGE OF SEATS ABOVE THE FIRST TIER - LOWER HOUSE" gen D5074=5 label variable D5074 "FUSED VOTE" label define D5074 1 "1. YES" 5 "5. NO" 7 "7. NOT APPLICABLE" label values D5074 D5074 gen D5075=179 label variable D5075 "SIZE OF THE LOWER HOUSE" gen D5080_1=-4.9 label variable D5080_1 "GDP GROWTH - ANNUAL PERCENT (WORLD BANK) - TIME T" gen D5080_2=1.9 label variable D5080_2 "GDP GROWTH - ANNUAL PERCENT (WORLD BANK) - TIME T-1 YEAR" gen D5080_3=1.3 label variable D5080_3 "GDP GROWTH - ANNUAL PERCENT (WORLD BANK) - TIME T-2 YEARS" gen D5081_1=58163.29 label variable D5081_1 "GDP PER CAPITA, PPP (WORLD BANK) - TIME T" gen D5081_2=58041.41 label variable D5081_2 "GDP PER CAPITA, PPP (WORLD BANK) - TIME T-1 YEAR" gen D5081_3=61753.66 label variable D5081_3 "GDP PER CAPITA, PPP (WORLD BANK) - TIME T-2 YEARS" gen D5082_1=0.5 label variable D5082_1 "INFLATION, GDP DEFLATOR (ANNUAL PERCENT) (WORLD BANK) - TIME T" gen D5082_2=3.2 label variable D5082_2 "INFLATION, GDP DEFLATOR (ANNUAL PERCENT) (WORLD BANK) - TIME T-1 YEAR" gen D5082_3=0.6 label variable D5082_3 "INFLATION, GDP DEFLATOR (ANNUAL PERCENT) (WORLD BANK) - TIME T-2 YEARS" gen D5083_1=0.922 label variable D5083_1 "HUMAN DEVELOPMENT INDEX (UNDP) - TIME T" gen D5083_2=0.910 label variable D5083_2 "HUMAN DEVELOPMENT INDEX (UNDP) - TIME T-1 YEAR" gen D5083_3=0.955 label variable D5083_3 "HUMAN DEVELOPMENT INDEX (UNDP) - TIME T-2 YEARS" gen D5084_1=5570572 label variable D5084_1 "POPULATION, TOTAL (WORLD BANK) - TIME T" gen D5084_2=5547683 label variable D5084_2 "POPULATION, TOTAL (WORLD BANK) - TIME T-1 YEAR" gen D5084_3=5523095 label variable D5084_3 "POPULATION, TOTAL (WORLD BANK) - TIME T-2 YEARS" gen D5085_1=6.0 label variable D5085_1 "UNEMPLOYMENT, TOTAL (WORLD BANK) - TIME T" gen D5085_2=7.5 label variable D5085_2 "UNEMPLOYMENT, TOTAL (WORLD BANK) - TIME T-1 YEAR" gen D5085_3=7.6 label variable D5085_3 "UNEMPLOYMENT, TOTAL (WORLD BANK) - TIME T-2 YEARS" gen D5086=9.4 label variable D5086 "TI CORRUPTION PERCEPTION INDEX" gen D5088_1=2.68 label variable D5088_1 "NET MIGRATION RATE 2010-2015" gen D5088_2=3.21 label variable D5088_1 "NET MIGRATION RATE 2005-2010" gen D5089_1=26.6 label variable D5089_1 "GENERAL GOVERMNENT FINAL CONSUMPTION EXPENDITURE (% of GDP) T" gen D5089_2=27.4 label variable D5089_2 "GENERAL GOVERMNENT FINAL CONSUMPTION EXPENDITURE (% of GDP) T-1 YEAR" gen D5089_3=27.9 label variable D5089_3 "GENERAL GOVERMNENT FINAL CONSUMPTION EXPENDITURE (% of GDP) T-2 YEARS" gen D5091_1=10.2 label variable D5091_1 "HEALTH EXPENDITURE (% GDP) T" gen D5091_2=10.3 label variable D5091_1 "HEALTH EXPENDITURE (% GDP) T-1 YEAR" gen D5091_3=10.7 label variable D5091_1 "HEALTH EXPENDITURE (% GDP) T-2 YEARS" gen D5092_1=1.3 label variable D5092_1 "MILITARY EXPENDITURE (%GDP) T" gen D5092_2=1.4 label variable D5092_2 "MILITARY EXPENDITURE (%GDP) T-1 YEAR" gen D5092_3=1.4 label variable D5092_3 "MILITARY EXPENDITURE (%GDP) T-2 YEARS" gen D5093_1=40.4 //ikke sikker på det er de rigtige tal label variable D5093_1 "CENTRAL GOVERNMENT DEBT, TOTAL (% GDP) T" gen D5093_2=42.9 label variable D5093_1 "CENTRAL GOVERNMENT DEBT, TOTAL (% GDP) T-1 YEAR" gen D5093_3=46.4 label variable D5093_1 "CENTRAL GOVERNMENT DEBT, TOTAL (% GDP) T-2 YEARS" gen D5095=89.8 label variable D5095 "PERCENTAGE OF INDIVIDUALS USING THE INTERNET" gen D5096=128.5 label variable D5096 "MOBILE PHONE SUBSCRIPTIONS PER 100 INHABITANTS" gen D5097=44.4 label variable D5097 "FIXED TELEPHONE LINES PER 100 INHABITANTS" gen D5099=5 label variable D5099 "CONSTITUTIONAL FEDERAL STRUCTURE" label define D5099 1 "1. YES [SEE ELECTION STUDY NOTES]" 5 "5. NO" label values D5099 D5099 gen D5100=1 label variable D5100 "NUMBER OF LEGISLATIVE CHAMBERS" label define D5100 1 "1. ONE LEGISLATIVE CHAMBER; UNICAMERAL LEGISLATURE" 2 "2. TWO LEGISLATIVE CHAMBERS; BICAMERAL LEGISLATURE" label values D5100 D5100 gen D5101=1 label variable D5101 "ELECTORAL RESULTS DATA AVAILABLE" label define D5101 1 "1.YES" label values D5101 D5101 gen D5102=997 label variable D5102 "EFFECTIVE NUMBER OF ELECTORAL PARTIES" gen D5103=997 label variable D5103 "CORRECTED EFFECTIVE NUMBER OF ELECTORAL PARTIES" gen D5104=997 label variable D5104 "EFFECTIVE NUMBER OF PARLIAMENTARY PARTIES" gen D5105=997 label variable D5105 "CORRECTED EFFECTIVE NUMBER OF PARLIAMENTARY PARTIES" label define D5200 999999 "999999. NOT AVAILABLE IN MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (CMP) DATASET" gen D5200_A=13320 label variable D5200_A "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY A" label values D5200_A D5200 gen D5200_B=13410 label variable D5200_B "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY B" label values D5200_B D5200 gen D5200_C=13620 label variable D5200_C "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY C" label values D5200_C D5200 gen D5200_D=13230 label variable D5200_D "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY D" label values D5200_D D5200 gen D5200_E=13001 label variable D5200_E "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY E" label values D5200_E D5200 gen D5200_F=999999 label variable D5200_F "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY F" label values D5200_F D5200 gen D5200_G=13720 label variable D5200_G "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY G" label values D5200_G D5200 gen D5200_H=13420 label variable D5200_H "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY H" label values D5200_H D5200 gen D5200_I=13229 label variable D5200_I "MANIFESTO RESEARCH ON POLITICAL REPRESENTATION (MARPOR/CMP) IDENTIFIER - PARTY I" label values D5200_I D5200 gen D5201_A=9999 gen D5201_B=9999 gen D5201_C=9999 gen D5201_D=9999 gen D5201_E=9999 gen D5201_F=9999 gen D5201_G=9999 gen D5201_H=9999 gen D5201_I=9999 *Saving DNES2011 CSESdata compress save "DNES2011_cses4.dta", replace *Loading CSES4 - CSES Moduel 4, version 3 use "cses4.dta", clear // https://cses.org/data-download/module-4-2011-2016/ stata version 15 datafile *Appending DNES append using "DNES2011_cses4.dta", force *append using "DNES2015_cses4.dta", force // there is also a do-file for appending the DNES 2015 dataset. label define D1003 20802012 "20802011. DENMARK (2011)", modify label values D1003 D1003