Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In R, there is a package called lme4 that holds the function lmer, which is used to fit random-effects model. The data below set has

In R, there is a package called "lme4" that holds the function "lmer," which is used to fit random-effects model. The data below set has four movie critics rating the same four movies. We are not interested in the particular differences between the individual critics, but rather how the variable "critic" affects the score of the movie in general. That means we will treat the variable "critic" as a random effect and not a fixed one. 1. Import the attached movie critic data. In R, to add a random effect x, use the syntax (1|x). So a line of R code may look something like: model = lmer(score ~ (critic|1), data = data) Use a model of this sort to fit the critic data, thinking of "critic" as a random effect. Repeat this model fitting using "critic" as a fixed effect. What is the major theoretical difference? If you worked at Rotten Tomatoes and had access to other data besides critic score, what other data would you be interested in testing with this method? Movie Rating (out of 100) Critic 1 84 87 1 78 81 1 75 73 1 65 63 2 82 91 2 76 83 2 68 59 2 58 62 3 45 61 3 49 47 3 62 70 3 65 81 4 89 83 4 87 87 4 75 62 4 72 78

Movie Rating (out of 100) Critic
1 84 87
1 78 81
1 75 73
1 65 63
2 82 91
2 76 83
2 68 59
2 58 62
3 45 61
3 49 47
3 62 70
3 65 81
4 89 83
4 87 87
4 75 62
4 72 78

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Product Costing Concepts And Applications

Authors: Ralph S. Polimeni

3rd Edition

0072390840, 978-0072390841

More Books

Students also viewed these Accounting questions

Question

LO6 Define harassment and the role that HR plays in addressing it.

Answered: 1 week ago