- Phoenix is one of the hottest cities in the united states
- Is phoenix actually getting hotter over time?
- I will use a simple linear regression on the data to find out
2026-10-25
\[ Average = (High + Low) / 2 \]
\[ Yearly = (Jan + Feb + ... + Dec) / 12 \]
g <-ggplot(phx_clean, aes(x =Year, y=Value)) +
geom_point()
g +
geom_smooth(method ="lm", se =FALSE) +
theme_classic()+
xlab("Year") +
ylab("Average Temperature (F)")