Skip to content

This project explores how restaurant opening hours influence customer sentiment and star ratings in online reviews.

Notifications You must be signed in to change notification settings

course-dprep/operating_hrs_and_ratings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timing Matters

Motivation

While there is much research on the impact of opening hours on customer numbers or business, the impact of opening hours on online customer reviews is less well researched. This adds a new perspective to the existing consumer research. Unfavourable opening hours can affect overall customer satisfaction, especially if customers have not considered closing times.

Customer satisfaction is often measured in terms of product quality, customer service and price. In today's digital world, where everything can be accessed quickly and anywhere by mobile phone, the accessibility and availability of a restaurant is becoming increasingly important in addition to these constant variables. Customers now expect flexibility. With quantitative data on reviews combined with sentiment analysis of the textual review, it is possible to determine if a change in the number of hours the restaurant is open can lead to a decrease in reviews.

Research Question

*How are customer reviews affected by the opening hours of restaurants in the United States? *

Sub-Questions

  1. How are star ratings affected by the opening hours of restaurants?
  2. How is the sentiment of customer reviews affected by the opening hours of restaurants?

Background

Online reviews are becoming increasingly important in today's digital age, where word of mouth is no longer limited to knowledge circles. In many cases, new customers rely on other customers' reviews to choose restaurants. Highly positive reviews increase conversion rates, while negative reviews discourage purchases. Restaurants should therefore be aware of how online reviews reflect their performance. Customers specifically leave reviews based on multiple dimensions of their experience, including star ratings and sentiment through text. A restaurant's opening hours, which can vary widely depending on location and type of service, among other factors, can influence the reviews and sentiments expressed by customers. This quantitative study will look at how restaurant hours affect the reviews given by customers.

Method

For sub question 1, our dependent variable is star rating. This will be a categorical variable as we will them group into high star rating (4-5 stars) and low star rating (1-3 stars). The independent variable is opening hours, which is also categorical. The total amount of hours a restaurant is opened, will be counted. Two groups will be separated: high / low amount of opened hours. Because both the dependent variable star rating and the independent variable opening hours are categorical a binary logistic model will return the relationship and give predictability scores. For sub question 2, our dependent variable is the sentiment of customer reviews. This will be a categorical variable with 3 groups which have a natural order (negative < neutral < positive). The independent variable is opening hours, similar to question 1. An ordinal logistic regression model will be used for sub question 2. Customer reviews are categorized into 3 ordinal levels and opening hours into two levels. The result of this model will give the probabilities of sentiment levels based on the opening hours of a restaurant.

Variable table

Variable Name Description Type Operationalization Possible Values
Star Rating Customer rating for the restaurant Categorical (Binary) Grouped into High (4-5) and Low (1-3) High (4-5), Low (1-3)
Sentiment Sentiment of customer reviews Ordinal Categorized into Negative, Neutral, Positive Negative, Neutral, Positive
Opening Hours Total hours restaurant is open Categorical (Binary) Split into High and Low opening hours High, Low

Data

Preview of Findings

  • Describe the gist of your findings (save the details for the final paper!)
  • How are the findings/end product of the project deployed?
  • Explain the relevance of these findings/product.

Deployment Information

This project is easy to follow using an R Markdown document in the src folder. This document clearly presents the overview of our research, the research questions and the methodology. All the necessary packages are loaded and the datasets can be found in the data folder. The data is stored via Google Drive and can be opened using RStudio. The code to create the necessary visualisations and statistical analysis is also included.

Repository Overview

*Include a tree diagram that illustrates the repository structure

About

This project is set up as part of the Master's course Data Preparation & Workflow Management at the Department of Marketing, Tilburg University, the Netherlands.

The project is implemented by team 2 members: Tarn van Eijk, Vincent Riemslag, Isa Romeijn, Eline Sprenger, Isabel van Westeneng

About

This project explores how restaurant opening hours influence customer sentiment and star ratings in online reviews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 99.3%
  • Makefile 0.7%