Questions from Generalized mixed-model Coursera Quiz

Qn11. Download the file teaser.csv from the course materials. This file describes a survey in which respondents recruited online saw five different teaser trailers for upcoming movies of different genres. Respondents simply indicated whether they liked each teaser or not. The research question is whether trailers from certain film genres were liked more than others. How many respondents took part in this survey?

Qn12. By viewing the data table, discern which counterbalancing scheme was used for the Teaser factor, if any:

Full counterbalancing
Latin Square
Balanced Latin square
Random
None random

Q13. Create a plot of Liked by Teaser. Which teaser trailer genre was like the most?

Action
Comedy
Horror
Romance
Thriller 

Qn14. Using a generalized linear mixed model (GLMM), conduct a test of order effects on Liked to ensure counterbalancing worked, To the nearest ten-thousandth (four digits), what is the p-value for the order main effect? Hint: use the lme4 library and its glmer function with family=binomial and subject as random effect. The use the car library and its Anova function with type= 3. Prior to either, set sum-to-zero contrasts for order.

Qn15. Using a generalized linear mixed model (GLMM), conduct a test of liked by Teaser. To the nearest ten-thousandth (four digits), what is the chi-square statistic for the Teaser main effect? Hint: Use the lme4 library and its glmer function with family=binomial and subject as a random effect. Then use the car library and its Anova function with type = 3. Prior to either, set sum-to-zero contrasts for Teaser.
Qn16. Conduct simultaneous post hoc pairwise comparisons among levels of Teaser. Be sure to use Holm’s sequential Bonferroni procedure. How many of the tests are statistically significant? Hint: use the multcomp library and its mcp function called from within its glht function.

Tag:r statistics, r statistics help

Add a new comment.