## Title Genre Rating
## The Prestige Drama 8.5
## The Departed Crime 8.5
## The Lives of Others Drama 8.5
## Pan's Labyrinth Drama 8.2
## Casino Royale Action 8.0
## The Pursuit of Happyness Biography 8.0
## Blood Diamond Adventure 8.0
## Children of Men Drama 7.9
## The Fall Adventure 7.9
## Apocalypto Action 7.8
Shown below is a scatterplot showing the correlation between runtime and ratings
ggplot(new_data, aes(x = Rating, y = Runtime,)) +
geom_point() +
labs(title = "2006 Runtime and Ratings Comparison",
x = "Rating",
y = "Runtime (in minutes)"
)
Based on the inconclusive nature of the data, there doesn’t seem to be a correlation between a longer runtime and a higher rating