Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Assignment 10 PS 3780 Data Literacy & Visualization, Summer 2022 Due Date: Tuesday, July 19, 2022 at 11:59 p.m. Please save your visualizations and answers to these questions as one .pdf �le (use the...

1 answer below »

Assignment 10
PS 3780 Data Literacy & Visualization, Summer 2022
Due Date: Tuesday, July 19, 2022 at 11:59 p.m.
Please save your visualizations and answers to these questions as one .pdf
�le (use the �save as� function in most word processors). Be sure to include your name,
your teammate's name if there is anyone, and the assignment number. Submit the �le
to Carmen by the due date. Remember we are looking for professional visualizations so
please include a meaningful title as well as axis labels and a legend.
Make Money, Feel Good
Use R to load the assignment10.csv dataset from Carmen. This data was collected from
OSU's subscription to Gallup. There are 5 variables: State, Year, Getting.better, Eco-
nomic.con�dence, and Region. Getting.better and Economic.con�dence are survey re-
sponses that indicate whether the respondent feels their local situation is `getting better'
and whether they have con�dence in the state of the national economy. Create and ana-
lyze an appropriate visualization (or 2) for each question. When analyzing relationships
or trends, use a line plot or add summary lines to the plot (ie. geom_smooth). Write
down what commands that you use for each. (4 pts each)
1 Maps
ˆ Choose a year: Was there any geographic clustering of the feeling that things are
getting better and con�dence in the economy? How similar is the geographic vari-
ation for those two questions? (2 maps)
ˆ Choose two years: Was there any geographic clustering to the change in eithe
(choose one: economic con�dence or the feeling that the situation is getting better)
etween the chosen years? (1 map) [Hint: dcast( ) the dataset, then easily make a
new variable which is the di�erence between a couple years]
2 Plots
ˆ What was the general relationship between economic con�dence and the feeling
that things are getting better across the years? How varied is the relationship in
di�erent years? (1 plot) [Hint: for best visualization, treat Year as a factor variable
(see recitation).]
1
ˆ Are the time trends of (choose one: economic con�dence or the feeling that the
situation is getting better) di�erent by region? (1 plot)
2
    Maps
    Plots
Answered Same Day Jul 20, 2022

Solution

Mohd answered on Jul 21 2022
70 Votes
Assignment10
Assignment10
Shreya
2022-07-21
li
ary(readr)
li
ary(dplyr)
li
ary(ggplot2)
my_df <- read_csv("assignment10.csv")
Choose a year: Was there any geographic clustering of the feeling that things are getting better and confidence in the economy? How similar is the geographic variation for those two questions? (2 maps)
skimr::skim(my_df)
Data summary
    Name
    my_df
    Number of rows
    306
    Number of columns
    5
    _______________________
    
    Column type frequency:
    
    characte
    2
    numeric
    3
    ________________________
    
    Group variables
    None
Variable type:...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here