Skip to content

course-dprep/MovieGenre_IMDbAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Visual Studio Code

What is the effect of a genre of a movie to the IMDb popularity score?

Introduction

Is there a significant difference in the IMDb popularity scores among different movie genres? A film producer should perhaps consider producing an action genre movie rather than a thriller genre movie, despite that producer's preference for thriller. What other mediators could affect this effect? Some things that will be further explored and analyzed in this research.

Research Motivation

The cinema industry is dynamic and has ever-changing landscape which is influenced by many factors that will affect the success and popularity of a movie. Among these factors the genre of the movie plays a vital role. In this regard, the IMDb popularity score is a valuable metric that can show the engagement of a movie by its audience. Finding the relationship between genre of a movie and its popularity score has siginificant implications for the film industry. Film production is a substantial investment. Movie producers face the task of choosing the genre that will yield the best returns on their investment. By examining the relationship between genre and IMDb popularity scores, we aim to aid producers in making decisions to prioritize the genre of their movie.

Methods and Results

Methods

To address our research question, we decided to run a logistic regression of genres of the movies on their likelihood of being classified as a hit (according to this article a movie with an IMDB rating of 7+ is seen as a hit). Also, we determined a logistic regression model of the predicted probability to be a hit and the start year of movie. The estimated effect of a genre on the average rating when all the other variables are zero is shown in a plot with fixed effect, in this model there is a controlling variable, start year.

Results

The average rating per genre

__The average rating per genre__

The estimated change in rating per genre

__The estimate on average rating per genre__

Probability of being a hit

__Probability of being a hit__

The fixed effect

__The fixed effect__

Repository Overview

- data
- gen
  -output
  -temp
- src
  - analysis    
  - data-preparation
- .gitignore
- README.md
- makefile

Dependencies

Please follow the installation guides on http://tilburgsciencehub.com/.

install.packages("data.table")
install.packages("broom")
install.packages("dplyr")
install.packages("ggplot2")
install.packages("fixest")
install.packages("tidyverse")
install.packages("stargazer")

Running Instructions

Running The Code By Make

To run the code, follow these instructions:

  1. Fork this repository
  2. Open your command line/terminal and run the following code:
git clone https://github.com/course-dprep/MovieGenre_IMDbAnalysis
  1. Set your working directory to MovieGenreIMDbAnalysis and run the following command:
make
  1. When make has successfully run all the code, it will generate multiple graphs with the presentation of our analysis.
  2. To clean the data of all raw and unnecessary data files created during the pipeline, run the following code in the command line/terminal:
make clean

Authors

Team 3: