Ask Homework Help/Study Tips Expert

1. to do this problem set, go to piazza.com, and, under Resources and problme set 2, find surveydata.RData. Download this file.

Downloaded.

2. Go to your Environment tab. Click on the open icon, and find surveydata.RData. Open the file. It should load your workspace with the data frame named: dat.

File was opened and downloaded.

3. Using the command View(), view dat.

This was completed and the data showed up. Then used the command to remove the NA and there was 645 observations left after the command.

4. Use the levels() command to report the levels of ideo7, partyid3, and employ.status.

The data was input and these were the results.
>levels(dat$ideo7)
[1] "1. Extremely liberal" "2. Liberal"
[3] "3. Slightly liberal" "4. Moderate; middle of the road"
[5] "5. Slightly conservative" "6. Conservative"
[7] "7. Extremely conservative"
>levels(dat$partyid3)
[1] "Dem" "Indep" "Rep"
>levels(dat$employ.status)
[1] "1. Working now" "2. Temporarily laid off" "4. Unemployed"
[4] "5. Retired" "6. Permanently disabled" "7. Homemaker"
[7] "8. Student"

5. Use the table() command to answer the following questions:

(a) How many Republicans are in this sample? Thereis 432 republicans in this sample.
(b) How many Independents are over the age of 61? Thereis 147 independents over the age of 61.
(c) How many students in the sample are slightly conservative? Thereis 238 students in this sample that are slightly conservative.
(d) What proportion of Democrats in the sample did not study beyond high school? Their was 485 democrats that did not study beyond high school.

6. We need to create dummy variables for republicans and democrats. Name them rep and dem.

The dummy variable for republicans was created using dat$rep<-seq(0,0,(dat))

The dummy variable for democrats was created using dat$dem<-seq(0,0,(dat))

7. Create two new data frames using the subset command, one with only republicans and the other with only democrats.

8. Using the freq() command, create two frequency graphs, one for the age of republicans, and another for the age of democratic respondents. Include these graphs in your word document, make sure they are appropriately labeled (ti- tled and labels with no R code variable names), and make them different colors.

457_Figure.jpg

(a) Imagine you are a campaign manager. Using these data, explain to your candidate in layman's terms what they mean. Take a few sentences to describe what these graphs could mean for a campaign strategy. Use specific examples from the data.

When looking at these graphs its conclusive to say that for the republican voting strategy it is important to focus more on people who are over the age of 41. This is where the majority of the votes are coming from in the Republican party.

When looking at the graph for democrats its conclusive to say that for the voting strategy for this party it is smart and strategic to focus more on people under the age of 51. This is where the majority of the votes are coming from within the Democrat party.

9. Using the freq() command, create two frequency graphs, one for the house- hold income of republicans, and another for the household income of demo- cratic respondents. Include these graphs in your word document, make sure they are appropriately labeled (titled and labels with no R code variable names), and make them different colors.

1232_fig.jpg

(a) Imagine you are a political analyst for a media outlet. Using these data, explain to your television anchor in layman's terms what they mean. Take a few sentences to describe what these graphs could mean for dif- ferent policy outcomes. Use specific examples from the data.

The frequency graph for the republican party related to household income shows that more of the house hold income is shifted to the right with large numbers correlated in only a few areas. This shows that people with a lot of income tend to associate more with the republican party then the democrats. This graph also shows that the income level for the republican party isn't very high through out the rest of the graph compared to the democrats.

The frequency graph for the democratic party related to household income shows that the household income is shifted more to the right but its not as spread out or conjugated to one area like in the republican party. The household income in the democratic party is spread out and a little more diverse then shown in the republican party household income.

10. Using the feeling thermometer for welfare, report the average feeling toward welfare programs of Republicans and Democrats. Are they different? Then, in a few sentences, explain why this may be the case. What characteristics might respondents have that could be responsible for these differences? Use examples from the data to support your arguments.

According to the feeling thermometer for welfare, the republicans feel much less for welfare programs then do the democrats.

(a) Does party ID cause people to people to adopt policy positions on wel- fare, or do policy positions on welfare cause people to support a political party? In a few sentences, explain the direction of the causal relation- ship. Use examples from your data to support your position.

Attachment:- Assignment.rar

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M91912963
  • Price:- $70

Guranteed 36 Hours Delivery, In Price:- $70

Have any Question?


Related Questions in Homework Help/Study Tips

Review the website airmail service from the smithsonian

Review the website Airmail Service from the Smithsonian National Postal Museum that is dedicated to the history of the U.S. Air Mail Service. Go to the Airmail in America link and explore the additional tabs along the le ...

Read the article frank whittle and the race for the jet

Read the article Frank Whittle and the Race for the Jet from "Historynet" describing the historical influences of Sir Frank Whittle and his early work contributions to jet engine technologies. Prepare a presentation high ...

Overviewnow that we have had an introduction to the context

Overview Now that we have had an introduction to the context of Jesus' life and an overview of the Biblical gospels, we are now ready to take a look at the earliest gospel written about Jesus - the Gospel of Mark. In thi ...

Fitness projectstudents will design and implement a six

Fitness Project Students will design and implement a six week long fitness program for a family member, friend or co-worker. The fitness program will be based on concepts discussed in class. Students will provide justifi ...

Read grand canyon collision - the greatest commercial air

Read Grand Canyon Collision - The greatest commercial air tragedy of its day! from doney, which details the circumstances surrounding one of the most prolific aircraft accidents of all time-the June 1956 mid-air collisio ...

Qestion anti-trustprior to completing the assignment

Question: Anti-Trust Prior to completing the assignment, review Chapter 4 of your course text. You are a manager with 5 years of experience and need to write a report for senior management on how your firm can avoid the ...

Question how has the patient and affordable care act of

Question: How has the Patient and Affordable Care Act of 2010 (the "Health Care Reform Act") reshaped financial arrangements between hospitals, physicians, and other providers with Medicare making a single payment for al ...

Plate tectonicsthe learning objectives for chapter 2 and

Plate Tectonics The Learning Objectives for Chapter 2 and this web quest is to learn about and become familiar with: Plate Boundary Types Plate Boundary Interactions Plate Tectonic Map of the World Past Plate Movement an ...

Question critical case for billing amp codingcomplete the

Question: Critical Case for Billing & Coding Complete the Critical Case for Billing & Coding simulation within the LearnScape platform. You will need to create a single Microsoft Word file and save it to your computer. A ...

Review the cba provided in the resources section between

Review the CBA provided in the resources section between the Trustees of Columbia University and Local 2110 International Union of Technical, Office, and Professional Workers. Describe how this is similar to a "contract" ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As