- This presentation analyzes the relationship between square footage (2000 - 3000) and home prices in ZIP code 85249.
- A total of 28 observations were collected.
- The data were collected from Zillow.
2026-03-04
The relationship between home price and square footage can be analyzed using the linear regression equation:
\[ y = \beta_0 + \beta_1 x \]
Where:
The estimated regression equation is:
\[ \hat{y} = \beta_0 + \beta_1 x \]
Where:
plot_ly(homes,
x = homes$sqft,
y = homes$price,
type = "scatter",
mode = "markers" )%>%
layout(xaxis = list(title = "Square Footage"),
yaxis = list(title = "Home Price ($)"))