[R-sig-ME] Replicating type III anova tests for glmer/GLMM
Fox, John
jfox at mcmaster.ca
Tue Feb 23 14:30:28 CET 2016
Dear Francesco,
The Anova() function in the car package might do what you want. See ?Anova. "Effect coding" in R is implemented by contr.sum().
I hope this helps,
John
-----------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
web: socserv.mcmaster.ca/jfox
________________________________________
From: R-sig-mixed-models [r-sig-mixed-models-bounces at r-project.org] on behalf of Francesco Romano [francescobryanromano at gmail.com]
Sent: February 22, 2016 8:12 PM
To: r-sig-mixed-models at r-project.org
Subject: [R-sig-ME] Replicating type III anova tests for glmer/GLMM
Dear all,
I'm trying to report my analysis replicating the method in the following
papers:
Cai, Pickering, and Branigan (2012). Mapping concepts to syntax: Evidence
from structural priming in Mandarin Chinese. Journal of Memory and Language 66
(2012) 833–849. (looking at pg. 842, "Combined analysis of Experiments 1
and 2" section)
Filiaci, Sorace, and Carreiras (2013). Anaphoric biases of null and overt
subjects in Italian and Spanish: a cross-linguistic comparison. Language,
Cognition, and Neuroscience DOI:10.1080/01690965.2013.801502 (looking at
pg.11, first two paragraphs)
This is because I have a glmer model with three fixed effects, two random
intercepts modeling a binary outcome, exactly as in the articles mentioned.
The difficulty I'm finding is with locating information on commands
generating coefficients, SE, z, and p values (e.g. maximum likelihood
(Laplace Approximation)) to report main effects and interactions with the
anova or afex:mixed commands, following application of effect coding. I
have looked in several places, including Ben Bolker's FAQ
http://glmm.wikidot.com/faq and past posts on the topic in this r-sig.
Although there appears to be a plethora of material for lmer, I can't seem
to locate anything in the right direction for glmer.
Many thanks for any help.
--
Frank Romano Ph.D.
*LinkedIn*
https://it.linkedin.com/pub/francesco-bryan-romano/33/1/162
*Academia.edu*
https://sheffield.academia.edu/FrancescoRomano
[[alternative HTML version deleted]]
_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
More information about the R-sig-mixed-models
mailing list