Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Regression Analysis POLS285 For the nal assignment, you will write a six- to seven-page paper on the results of a multiple regression analysis in R.
Regression Analysis POLS285 For the nal assignment, you will write a six- to seven-page paper on the results of a multiple regression analysis in R. You don't yet have all the skills you need to complete the assignment, but you can get started on several parts, including the identication of your dependent and independent variables. Your TAs and I are happy to help at any stage of the project. You need to attend tutorial to do well. Learning objectives: Upon completion of this assignment, you will: - Know how to conduct and report the results of a multiple regression analysis in R 0 Have a deeper understanding of the challenges of causal inference and research design For the analysis, you'll rely on data from the 2021 Canadian Election Study (CBS). You'll nd a partial version of the CES on onQ. You'll need to identify four variables: a dependent variable, independent variable, and two controls. The regression technique we will use is ordinary least squares (OLS). You need a dichotomous or continuous dependent variable for this type of analysis. All variables in the modied CES dataset are dichotomous or \"continuous enough.\" Variable descriptions are found in the second page of the data le on onQ. Your nal submission should include a six- to seven-page, double-spaced paper (including gures and tables) and an R script. There will be two separate drop boxes: one for the paper and another for the R script. Value: 25% of nal grade CES codebook (modified) Variable label Modified CES variable label Scale or Attributes Further details on measurement liberal Yes cps21_fed_id 0 or 1 Takes a value of 1 if the respondent identifies with the federal Liberals; takes a value of 0 if the respondent identifies with another party or no party at all conservative Yes cps21_fed_id 0 or 1 Takes a value of 1 if the respondent identifies with the federal Conservatives; takes a value of 0 if the respondent identifies with another party or no party at all green Yes cps21_fed_id 0 or 1 Takes a value of 1 if the respondent identifies with the federal Green Party; takes a value of 0 if the respondent identifies with another party or no party at all bq Yes cps21_fed_id 0 or 1 Takes a value of 1 if the respondent identifies with the Bloc Quebecois; takes a value of 0 if the respondent identifies with another party or no party at all nd Yes cps21_fed_id 0 or Takes a value of 1 if the respondent identifies with the Federal New Democratic Party; takes a value of 0 if the respondent identifies with another party or no party at all woman Yes cps21_genderid 0 or 1 lakes a value of 1 if the respondent identifies as a woman; takes a value of 0 if the respondent identifies as a man, non-binary or another gender university Yes cps21_education 0 or 1 takes a value of 1 if the respondent has at least some university education; a value of 0 if they have no university education fptp Yes cps21_pos_fptp 0 or 1 Question: Should Canada change its electoral system from First Past the Post to a "proportional representation" system? Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes cannabis Yes cps21_pos_cannabis 0 or 1 Question: Should possession of cannabis should be a criminal offense? Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes a value of 0 if the respondent chose "neither agre trade Yes cps21_pos_trade 0 or 1 Question: There should be more free trade with other countries, even if it hurts some industries in Canada. Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes a value of 0 if carbon Yes cps21_pos_carbon 0 or 1 Question: To help reduce greenhouse gas emissions, the federal government should continue the carbon tax. Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes a value of 0 covid Yes cps21_covid_liberty 0 or 1 Question: The public health recommendations aimed at slowing the spread of the COVID-19 virus are threatening my liberty. Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Tak govt_say Yes cps21_govt_say 0 or 1 Question: People like me don't have any say about what the government does. Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes a value of 0 if the respondent chose "neith que_sov Yes cps21_quebec_sov 0 or 1 Are you very favourable, somewhat favourable, somewhat opposed, or very opposed to Quebec sovereignty, that is Quebec is no longer a part of Canada? Takes a value of 1 if the respondent chooses "very oppo racial_therm No cps21_groups_therm 0 to 100, increments of 1 |How do you feel about racial minorities? Set the slider to any number from 0 to 100, where 0 means you really dislike the group and 100 means you really like the group. immigrants_therm No cps21_groups_therm 0 to 100, increments of 1 |How do you feel about immigrants? Set the slider to any number from 0 to 100, where 0 means you really dislike the group and 100 means you really like the group. francophones_therm No cps21_groups_therm 0 to 100, increments of 1 |How do you feel about francophones? Set the slider to any number from 0 to 100, where 0 means you really dislike the group and 100 means you really like the group. indigenous_therm No cps21_groups_therm 0 to 100, increments of 1 |How do you feel about Indigenous peoples? Set the slider to any number from 0 to 100, where 0 means you really dislike the group and 100 means you really like the group. feminists_therm No cps21_groups_therm 0 to 100, increments of 1 |How do you feel about feminists? Set the slider to any number from 0 to 100, where 0 means you really dislike the group and 100 means you really like the group americans_therm No cps21_groups_therm 0 to 100, increments of 1 |How do you feel about Americans? Set the slider to any number from 0 to 100, where 0 means you really dislike the group and 100 means you really like the group. union Yes cps21_union 0 or 1 Question: "Do you belong to a union?" Takes a value of 1 if the respondent says "yes." Takes a value of 0 if the respondent answers "no"; or "Don't know/prefer not to answer" pay_med Yes pes21_paymed 0 or 1 Question: People who are willing to pay should be allowed to get medical treatment sooner. Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes a value of 0 if the respondent fam_values Yes pes21_famvalues 0 or 1 Question: This country would have many fewer problems if there was more emphasis on traditional family values. Takes a value of 1 if the respondent choses "strongly agree," or "somewhat agree." Takes a value tie_china Yes pes21_tiechina 0 or 1 Question: Do you think Canada's ties with China should be... Takes a value of 1 if the respondent answers "much closer" or "somewhat closer"; takes a value of 0 if the respondent answers "about the same", "s police Yes pes21_conf_inst2 0 or 1 Question: Please indicate how much confidence you have in the police. Takes a value of 1 if the respondent answers "quite a lot"; or "a great deal"; takes a vaue of 0 if the respondent answers "don't know/prefer conversion Yes pes21_conversion_the 0 or 1 Question: Conversion therapy is when mental health practitioners try to change a LGBTQ person's sexual orientation or gender identity. Do you think that conversion therapy should be legal or illegal to use on LG rich_poor Yes pes21_gap 0 or 1 Question: How much do you think should be done to reduce the gap between the rich and the poor in Canada? Takes a value of 1 if the respondent answers "Much more" or "somewhat more"; takes a value of 0 feminine No pes21_feminine_1 0 to 100, increments of 1 |Question: How much do you identity as feminine on a scale from 0 to 100, where 0 means not at all masculine and 100 means very masculine. masculine No pes21_masculine_1 0 to 100, increments of 1 |Question: How much do you identity as masculine on a scale from 0 to 100, where 0 means not at all masculine and 100 means very masculine. trudeau_therm No cps21_lead_rating_23 0 to 100, increments of 1 |How do you feel about Justin Trudeau? Set the slider to any number from 0 to 100, where 0 means you really dislike the leader and 100 means you really like the leader. otoole_therm NO cps21_lead_rating_24 0 to 100, increments of 1 |How do you feel about Erin O'Toole? Set the slider to any number from 0 to 100, where 0 means you really dislike the leader and 100 means you really like the leader singh_therm No cps21_lead_rating_25 0 to 100, increments of 1 |How do you feel about Jagmeet Singh? Set the slider to any number from 0 to 100, where 0 means you really dislike the leader and 100 means you really like the leader. blanchet_therm No cps21_lead_rating_26 0 to 100, increments of 1 |How do you feel about Yves-Francois Blanchet? Set the slider to any number from 0 to 100, where 0 means you really dislike the leader and 100 means you really like the leader. paul_therm No cps21_lead_rating_27 0 to 100, increments of 1 How do you feel about Annamie Paul? Set the slider to any number from 0 to 100, where 0 means you really dislike the leader and 100 means you really like the leader. bernier_therm No cps21_lead_rating_29 0 to 100, increments of 1 |How do you feel about Maxime Bernier? Set the slider to any number from 0 to 100, where 0 means you really dislike the leader and 100 means you really like the leader
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started