Simple IMDb Movie Ratings Predictor

kimnewzealand
3 July 2017

Introduction

A simple IMDb movie ratings predictor has been created using a shiny app.

https://kimnewzealand.shinyapps.io/IMDBMovies/

This shiny app is designed to :

  • Source the movie dataset
  • Plot the IMDb rating versus the movie run time
  • Manually adjust a movie run time value
  • Generate a movie IMDb rating prediction, based on the run time value

IMDB Movies Dataset

The Internet Movie Database (abbreviated IMDb) is a very large online database of information related to films.

In the dataset sourced from the IMDb API, there are 651 observations of randomly sampled movies produced and released in the year range 1970, 2014 .

The IMDb rating is based on all the individual votes cast by IMDb registered users to calculate a single rating for a movie.

Scatterplot of IMDb Ratings Versus Movie Run Time

The following scatterplot of IMDb rating versus movie run time, is colour coded by movie genre:

plot of chunk unnamed-chunk-2

A simple linear regression model using the run time variable, is calculated on the underlying dataset. The regression line is drawn and coloured in green on the plot.

Run Time Slider and Prediction Instructions

Simply calculate a predictive value for the IMDb rating by sliding the run time slider bar to generate a run time estimate.

This run time estimate, in minutes, will generate a new predictive value for the IMDb rating.

The blue vertical line representing the slider's run time value will also adjust accordingly to visualise the prediction as an intercept with the green regression line.