[R-sig-ME] Post hoc on glmer for specific hypotheses
Timothy MacKenzie
|@w|@wt @end|ng |rom gm@||@com
Wed Mar 9 18:58:52 CET 2022
Hello All,
My glmer model below analyzes the performance of a single group of
subjects on a test at two time points. The test has 4 item types.
Data and code are below.
Is there a way to test only the following two hypotheses?
1- ((Baseline multiple-choice_grammar) - (Post-test
multiple-choice_grammar)) - (Baseline production_grammar - (Post-test
production_grammar))
2- ((Baseline multiple-choice_vocabulary) - (Post-test
multiple-choice_vocabulary)) - (Baseline production_vocabulary -
(Post-test production_vocabulary))
dat <- read.csv("https://raw.githubusercontent.com/fpqq/w/main/d.csv")
form2 <- y ~ item_type*time + (1 | user_id)
m2 <- glmer(form2, family = binomial, data = dat,
control =
glmerControl(optimizer = "bobyqa"))
Sincerely,
Tim M
More information about the R-sig-mixed-models
mailing list