Directions: Using the National Election Studies 2016 dataset in R, please complete the following questions using the relevant portions of your output documentation. To receive full credit for question one, you must type and provide meaningful labels for this table using the table feature in a word processing program, and report the chi-squared statistic value immediately below the table. Please note that the dependent variable for item one is the variable that is listed first. To receive full credit for questions two through four, you must specify the correlation statistic that was computed.
Finally, the code provided in question five must generate the answers provided in your submission. Failure to adhere to this requirement will result in a loss of ½ of the points possible for this assignment.
You need to upload your assignment to Blackboard, using the Turnitin tool. More information about using this tool is available. This is the only route by which to submit your assignment.
1) Please compute and interpret a cross-tabulation table, and the chi-square statistic (with p-value) for the relationship between whether one favors the death penalty (favordeathpenalty) and educational attainment (ideology) (20 points).
Favor the Death Penalty (favordeathpenalty) is coded as follows: 1 = Yes; 0 = No. Educational Attainment (education) is coded as follows: 1 = Less than High School; 2 = High School; 3 = Some College; 4 = College Graduate; 5 = Graduate School Education.
2) Please compute and interpret the appropriate correlation statistic between whether one voted for Donald Trump in 2016 (trumpvoter) and their feelings about President Trump (V161087) (20 points).
Trump Voter (trumpvoter) is coded as follows: 1 = Yes; 0 = No. Feelings about Donald Trump is a feeling thermometer.
3) Please compute and interpret the appropriate correlation statistic between whether one supports building a wall on the U.S.-Mexico border (borderwall) and educational attainment (education) (20 points).
Border Wall (borderwall) is coded as follows: 1 = Yes; 0 = No. Educational Attainment (education) is coded as follows: 1 = Less than High School; 2 = High School; 3 = Some College; 4 = College Graduate; 5= Graduate School Education.
4) Please compute and interpret the appropriate correlation statistic between interest in politics (interestinpolitics) and partisan identification (partyid) (20 points).
Interest in politics (interestinpolitics) is coded as follows: 0 = Not at all interested; 1 = Not very interested; 2 = Somewhat interested; 3 = Very interested. Partisan identification (partyid) is coded as follows: 1 = Democratic; 2 = Independent or Other; 3 = Republican.
5) Please provide all of the R code for each of the answers that you generated. This code should clearly indicate: a) the problem to which each section of code corresponds; and b) each step along the way to generate your answer, including a brief explanation of that step (20 points).
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme