logo Hurry, Grab up to 30% discount on the entire course
Order Now logo
766 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Lakshay GabaEnglish
(5/5)

675 Answers

Hire Me
expert
Rahul KapoorTechnical writing
(5/5)

978 Answers

Hire Me
expert
Allen CrumpStatistics
(5/5)

847 Answers

Hire Me
expert
Bryan ThomsonPsychology
(5/5)

551 Answers

Hire Me
R Programming
(5/5)

One of the central theories in political science is that people do what’s called economic voting.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

ANES Assignment

The American National Election Study is a scientifically rigorous landmark survey that has been conducted around every presidential election since 1948. For asignment, you will analyze the 2016 ANES. In 2016, the ANES was completed in both face-to-face format (~1,100 responses) and online (~3,000). For simplicity, we will focus on the face-to-face format only. Each respondent was interviewed twice: once a few weeks before the election, and once a few weeks after. You will have a raw dataset with both waves.

You will turn in two files:

1. An .R script that cleans the data and produces your analysis, according to the framework below. This script should produce all the code necessary to complete this assignment. This file should be well-commented, meaning that you’ve written notes in the file so that someone else can understand what your code is doing. Unlike previous assignments, I will not give you a template: you must make this script from scratch!

2. A Word document of your answers to each part of the assignment.

Research question: One of the central theories in political science is that people do what’s called economic voting. That is, they vote for the candidate they expect to most benefit their own economic situation. In particular, if a voter thinks that the economy is doing well, they will vote for the incumbent’s party (so, Clinton in 2016), and if a voter thinks the economy is not doing well, they will vote for an opposition party. Often, we proxy for this using perceptions of the general state of the economy. You may hear this in campaigns as “Are you better off now than you were 4 years ago?”

You will test a version of this theory using data from the ANES 2016 survey. There are several steps to this analysis, outlined below. You should write all code necessary to answer each question. It is completely acceptable (recommended, even) to use our in-class activities, assignments, etc. to help you complete the project. This assignment is equal parts coding and interpretation.

1. Consider the research question: whether a person’s belief about whether the economy is getting better or worse affects whether they voted for Clinton in 2016. Write 1-2 paragraphs that discuss why the nature of this relationship is not obvious. A good way to do this is to state one (or more) reasons why the relationship might be positive, but also one or more reasons why it might be negative (or zero). I’m not expecting you to know all the existing theories on this – I just want you to think logically about what might be going on in the real world.

2. Time for data! Write an R code to do the following:

a. Clear the decks, programmatically import the raw ANES dataset, and load any necessary packages

b. Make a new dataframe that only has the variables you need for this assignment.

c. Make your data useable by creating and cleaning variables. To do this, look at the instructions in the final column of the codebook table at the end of this document.

3. Use the template below to create a well-formatted table of summary statistics showing, for each variable you created above, summary statistics including the variable’s minimum, maximum, mean, and median.

(5/5)
Attachments:

Expert's Answer

766 Times Downloaded

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme