syifbhuiyan

The Airbnb Effect: Impact on NYC Housing

Syif M. Bhuiyan | Data Analyst
Back to Home


Graph showing correlation between Airbnb density and House Prices

Goal

Determine if “platformization” of housing (via Airbnb) correlates with higher local housing costs in New York City neighborhoods.


Tools Used


Project Overview

In the debate over urban housing affordability, short-term rentals are often cited as a driver of rising costs. This project utilizes Computational Social Science techniques to empirically test this theory using real-world data from Inside Airbnb and Zillow Research.

I built a data pipeline to merge listing data with neighborhood-level housing value indices (ZHVI) across 164 NYC neighborhoods to perform a regression analysis.


Key Insights & Findings


Code Snippet: The Regression Model

# Running Ordinary Least Squares (OLS) Regression
import statsmodels.api as sm

Y = master_df['avg_house_price']
X = master_df['airbnb_count']
X = sm.add_constant(X)

model = sm.OLS(Y, X).fit()
print(model.summary())

Methodological Note

While this OLS regression establishes a statistically significant correlation ($R^2=0.097$) between short-term rental density and housing prices, I acknowledge that correlation does not imply causation. A future iteration of this study would ideally employ a Difference-in-Differences (DiD) approach or Instrumental Variable (IV) analysis to better isolate the causal impact of Airbnb market entry.


👉 View Full Code on GitHub