Tutor profile: Jennifer C.
Subject: R Programming
Please write the line of code that would turn the background of a ggplot red.
panel.background = element_rect(fill = 'red')
Please identify and describe a social psychological theory that might explain why the Democratic and Republican parties are becoming more polarized.
Groupthink might help explain this. Groupthink describes the psychological phenomenon that groups reach opinions without deep thought about them, by individuals following their group members' opinions. Groups become more extreme in their collective opinions when they talk amongst themselves about an issue. Social media echo chambers in which people are generally only exposed to media sources that agree with their political leanings cause this to happen.
A researcher wants to investigate whether New Yorkers who live in more energy efficient buildings perform other pro-environmental behaviors more; specifically, recycling. She identifies several buildings with a range of energy efficiency scores (rated on a 0-100 scale), and tracks the percentage of waste that is recycled in each building during a two week period. What statistical test should she perform to conclude whether there is a relationship between the energy efficiency of a building and the amount that its inhabitants recycle?
She has two numbers that correspond to each building: an energy efficiency rating and a recycling percentage. She should calculate an r correlation between these two numbers and look at the p value to determine whether there is a statistically significant relationship between the energy efficiency of a building and the amount that its inhabitants recycle.
needs and Jennifer will reply soon.