R-Studio 1.) You have an "movie votes.csv" file that contains 4392 movies, each row has a movie name and the AverageVote. Example: The Shawshank Redemption 8.5 The Prisoner of Zenda 8.4 The Godfather 8.4 Fight Club 8.3 Schindler's List 8.3 Spirited Away 8.3 The Godfather: Part II 8.3 Pulp Fiction 8.3 Whiplash 8.3 The Dark Knight 8.2 The Green Mile 8.2 Forrest Gump 8.2 Once Upon a Time in America 8.2 GoodFellas 8.2 Howl's Moving Castle 8.2 The Empire Strikes Back 8.2 Psycho 8.2 Princess Mononoke 8.2 The Visual Bible: The Gospel of John 8.2 American History X 8.2 One Flew Over the Cuckoo's Nest 8.2 Anne of Green Gables 8.2 Seven Samurai 8.2 12 Angry Men 8.2 Interstellar 8.1 Inception 8.1 The Lord of the Rings: The Return of the King 8.1 Se7en 8.1 The Silence of the Lambs 8.1 The Shining 8.1 Dead Poets Society 8.1 Room 8.1 Star Wars 8.1 Love Jones 8.1 The Usual Suspects 8.1 Memento 8.1 Once Upon a Time in the West 8.1 Guten Tag, Ramón 8.1 City of God 8.1 The Apartment 8.1 Modern Times 8.1 The Good, the Bad and the Ugly 8.1 Inside Out 8 The Lord of the Rings: The Fellowship of the Ring 8 The Lord of the Rings: The Two Towers 8 The Lion King 8 The Prestige 8 The Pianist 8 Apocalypse Now 8 (a) Suppose the given data points follow a power law distribution. Estimate the corresponding α parameter. (b) Suppose the given data points follow an exponential distribution. Estimate the corresponding λ parameter. (c) Suppose the given data points follow a uniform distribution. Estimate the corresponding range parameters [a, b] of the uniform distribution.
R-Studio
1.) You have an "movie votes.csv" file that contains 4392 movies, each row has a movie name and the AverageVote.
Example:
The Shawshank Redemption | 8.5 |
The Prisoner of Zenda | 8.4 |
The Godfather | 8.4 |
Fight Club | 8.3 |
Schindler's List | 8.3 |
Spirited Away | 8.3 |
The Godfather: Part II | 8.3 |
Pulp Fiction | 8.3 |
Whiplash | 8.3 |
The Dark Knight | 8.2 |
The Green Mile | 8.2 |
Forrest Gump | 8.2 |
Once Upon a Time in America | 8.2 |
GoodFellas | 8.2 |
Howl's Moving Castle | 8.2 |
The Empire Strikes Back | 8.2 |
Psycho | 8.2 |
Princess Mononoke | 8.2 |
The Visual Bible: The Gospel of John | 8.2 |
American History X | 8.2 |
One Flew Over the Cuckoo's Nest | 8.2 |
Anne of Green Gables | 8.2 |
Seven Samurai | 8.2 |
12 Angry Men | 8.2 |
Interstellar | 8.1 |
Inception | 8.1 |
The Lord of the Rings: The Return of the King | 8.1 |
Se7en | 8.1 |
The Silence of the Lambs | 8.1 |
The Shining | 8.1 |
Dead Poets Society | 8.1 |
Room | 8.1 |
Star Wars | 8.1 |
Love Jones | 8.1 |
The Usual Suspects | 8.1 |
Memento | 8.1 |
Once Upon a Time in the West | 8.1 |
Guten Tag, Ramón | 8.1 |
City of God | 8.1 |
The Apartment | 8.1 |
Modern Times | 8.1 |
The Good, the Bad and the Ugly | 8.1 |
Inside Out | 8 |
The Lord of the Rings: The Fellowship of the Ring | 8 |
The Lord of the Rings: The Two Towers | 8 |
The Lion King | 8 |
The Prestige | 8 |
The Pianist | 8 |
Apocalypse Now | 8 |
(a) Suppose the given data points follow a power law distribution. Estimate the corresponding α
parameter.
(b) Suppose the given data points follow an exponential distribution. Estimate the corresponding λ
parameter.
(c) Suppose the given data points follow a uniform distribution. Estimate the corresponding range
parameters [a, b] of the uniform distribution.
(d) Suppose the given data points follow a normal distribution. Estimate the corresponding µ and σ
parameters.
Which distribution do you think the data follows and why? Explain. For each model, generate random data samples drawn from the respective distribution. Use visualizations of the empirical data and the data you generate to support your conclusions. (You can use Probability Density Function, Cumulative Density Function and QQ Plot)For this dataset, consider the following models:
Step by step
Solved in 3 steps with 1 images