title: “Ames Housing Presentation” author: “Leo Bucks, Jordan Lee,
Kai Te Huki, Nick Dal Forno, and Sean Walser” date: “2024-02-05” output:
slidy_presentation: default ioslides_presentation: default
beamer_presentation: default —
How does the year of construction and exterior condition affect
sales prices of two story single-family homes sold in Ames, IA?
Parameters of Study
- Explanatory Variable: Year Built
- Response Variable: Sale Price ($)
- additional Variable: Exterior Condition (Fair, Average Typical,
Good, Excellent)
- Population: Two-Story Single-Family Homes in Ames, IA
- Population Size: 703 observations
- Study or Experiment: Observational Study
Sale Price Vs Year Built, faceted by Exterior Condition
ggplot(data=twoostory) + geom_point(mapping= aes(x=YearBuilt, y=SalePrice))+
facet_wrap(~ExterCond)+
scale_y_continuous(labels=scales::dollar_format())+
theme(plot.title = element_text(color="black", size=28, face="bold"),
axis.title.x = element_text(color="blue", size=18),
axis.title.y = element_text(color="blue", size=18),
axis.text.x = element_text(color = "black",size = 12),
axis.text.y = element_text(color = "black", size = 12)) +
labs(title = "House Sale Price vs Year Built", x = "Year Built", y = "Sale Price")
## Sale Price Vs Year Built (not faceted)

Density of Houses based on Year Built
- Modes: Unimodal - Houses constructed around 2000
- Skew: Right Skewed
- Balanced or Unbalanced: Unbalanced spread of data
- Effect: Conclusions are stronger for homes built closer to 2000

Density of Homes based on Year Built, colored by Exterior
Condition
- Modes: Bimodal - around 1920 and around 2000
- Homes from around 1920 tend to be in fair exterior condition
- homes from around 2000 tend to be in average or typical
condition

Takeaways
- Positive Correlation between sale price and the year of
construction
- No Correlation between sale price and exterior condition
- This suggests there is a confounding variable (likely size of the
house)
- Skew: Left Skewed
- Modes: Around 2000 visible in Typical/Average and Good exterior
quality homes
- Flaws: houses aren’t evenly distributed across years, more homes
constructed after 1975