Skip to content

This is a team project for the course Data Preparation and Workflow Management in the masters degree Marketing & Analytics at Tilburg University. The scope of the project is to gain insight in how the prices of Airbnbs differ between the cities Amsterdam, Tokyo and London and how this depend on room type and review score.

License

Notifications You must be signed in to change notification settings

course-dprep/How-does-Airbnb-pricing-differ-between-stay-duration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How does Airbnb pricing differ between stay duration

1. Research Motivation

Airbnb often faces the challenge of optimizing their pricing strategies to maximize revenue while remaining competitive in the market. One common distinction in the industry is between short-term (fewer than 7 nights) and long-term ( minimum stay of 7 nights or more) stay duration. Understanding the nuances of pricing strategies for these two categories can be crucial for businesses to make informed decisions and enhance their overall financial performance. Our study aims to investigate pricing differences between short-term and long-term stay options and how the variables room type and review score depend on this relationship in three major global cities: Amsterdam, Tokyo, and London.

2. Research question

Are there any noticeable differences in pricing between short-term (e.g., minimum nights < 7) and long-term (e.g., minimum nights >= 7) rental options in Amsterdam, Tokyo and London? And how does this relationship depend on room type and review score?

3. Research Method and Variables

The data used is in the listings.csv.gz file downloaded from the Inside Airbnb website (http://insideairbnb.com/get-the-data), including Amsterdam, Tokyo, and London. For this project, we chose linear regression as an appropriate analysis method for two primary reasons. First, linear regression analysis allows us to predict our listings' prices (dependent variable) based on rental duration, city, room type and review scores (both metric and non-metric independent variables). This is vital since it offers an overview of understanding how various factors affect pricing. Second, by applying a linear regression to the data, we can estimate to what extent each factor contributes to the pricing differences.

Variables

Variables Description
price Room price in Amsterdam, Tokyo and London is treated as dependent variable
stay_type_dummy Dummy whether the stay is fewer than 7 nights
room_type type of room ("entire home/apt","hotel room","private room,"shared room")
review_scores_rating How the review scores given by guests from 0 to 5

4. Repository overview

├── README.md
├── install_packages.R
├── output ├──lr_results.csv
           ├──listing_distribution.png
           ├──stay_category_distribution.png
           ├──room_type_distribution.png
           ├──exploaration_and_results.pdf
           ├──pricing_results.csv
           └──aggregated_df.csv
├── makefile
└── src
    ├── analysis ├──analysis.R
                 ├──exploration_and_results.Rmd
                 └──makefile
    ├── data-preparation ├──download_datasets.R
                         ├──data-preparation.R
                         ├──data-exploration.R
                         └──makefile

5. Running instructions

Software dependencies

For this research, we downloaded the data and cleaned and analyzed it by using Rstudio. To run each file automatically, we created a makefile. The instructions are available on http://tilburgsciencehub.com/:

Make sure you install the following packages in RStudio before you run the commands. Otherwise, you can load each package using the library() function:

install.packages("broom")
install.packages("dplyr")
install.packages("ggplot2")
install.packages("tidyverse")
install.packages("readr")
install.packages("data.table")
install.packages("DescTools")
install.packages("pandoc")
install.packages("tinytex")
tinytex::install_tinytex()

Running the code

You can run the makefile by following these steps:

  1. Fork the repository to your own GitHub account
  2. Create a local repository where the cloned files will be stored
  3. Clone the repository to your local computer by typing this command line:
git clone https://github.com/course-dprep/How-does-Airbnb-pricing-differ-between-stay-duration
  1. Set your working directory to the just cloned folder using:
cd How-does-Airbnb-pricing-differ-between-stay-duration
  1. Then in your command line type:
make
  1. The generated results can be found in the ../output folder

6. Interpretation & Conclusions

Interpretation

To investigate the effect of stay duration on Airbnb prices across Amsterdam, Tokyo and London, considering review scores and room type, The linear regression results per city can be found below:

Amsterdam

截圖 2024-03-23 下午3 15 49 Listings in Amsterdam show no significant effect on price between short-stay and long-stay due to the p-value being 0.08 > 0.05. Since Amsterdam listings reveal a lack of long stay accommodations within the hotel and shared room categories. Consequently, coefficients for the interaction terms “long-stay”, “hotel room”, and “shared room” are represented as NA. This aligns with the established short-term nature of hotel and shared room listings, which typically lack a 7-day minimum stay requirement.

London

截圖 2024-03-23 下午3 18 54

For London listings the p-value is 0.0000124 < 0.05. This indicates that there is a significant difference in price between the listing with a short-stay vs long-stay in London. The main effect stay_type_dummy on the price suggests that on average a ‘long-stay’ is 56.8 Pounds lower than ‘short-stay’. In contrast to listings located in Amsterdam and Tokyo, hotel and shared room options do long term stay opportunities.

Tokyo

截圖 2024-03-23 下午3 21 49

The Airbnb listings in Tokyo show a significant difference in price between short stay and long stay listings since the p-value is 0.00653 < 0.05, despite the lack of significance in the majority of the terms. The interaction between stay_type_dummy * review_scores_rating is also significant for “long-stay” listings, which a star-increase in “review_scores_rating” is associated with a 7321 Yen increase in price. However, like Amsterdam, Tokyo hotels listed on the platform primarily offer short-term stays. This lack of long stay options prevents us from analyzing the interaction between the “long-stay” and “hotel room” variables.

Conclusions

The key findings from our analysis are:

  • In Amsterdam and Tokyo short-term stays show higher average prices than in London. Whereas, a long stay in London demonstrates an inverse trend.
  • Overall the long-term stays price is below average among Amsterdam, London, and Tokyo.
  • Unlike Tokyo and London with notable impact of stay duration on pricing, listings in Amsterdam have shown no significant difference.
  • Unlike Amsterdam and Tokyo, London offers long-term stay opportunities in hotel and shared room categories, although their availability is limited.
  • Across all three cities, different room types show significant effects on pricing.
  • There is a significant interaction between review scores and stay duration in Amsterdam, Tokyo, and London, particularly for long-stay accommodations.

Additional Visualization

Number of Airbnb listings

airbnb_listings_distribution Figure 1: Bar chart showing the distribution of Airbnb listings across Amsterdam, Tokyo, and London.

Distribution of Stay Duration

stay_category_distribution Figure 2: Bar chart showing the distribution of short-stay and long-stay listings across Amsterdam, Tokyo, and London.

Distribution of Room Types

room_type_distribution Figure 3: Bar chart showing the distribution of room types across Amsterdam, Tokyo, and London.

A more detailed analysis of these results can be found in the ../exploration_and_results.PDF file.

7. Authors

This project is conducted for the Data Preparation and Workflow Management course at Tilburg University. The members of our team are:

About

This is a team project for the course Data Preparation and Workflow Management in the masters degree Marketing & Analytics at Tilburg University. The scope of the project is to gain insight in how the prices of Airbnbs differ between the cities Amsterdam, Tokyo and London and how this depend on room type and review score.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •