Skip to content
Prev 15984 / 20628 Next

lme4 merMod model object

Dear Nathan,

Yes, you should be able to use linearHypothesis() in the car package. The command would be something like

linearHypothesis(your.model, c("coef1 - coef2 = 0",  "coef3 - coef4 = 0"))

You could equivalently specify the hypothesis as c("coef1 - coef2",  "coef3 - coef4"), with the 0s implied, or as c("coef1 = coef2",  "coef3 = coef4 ").

I'm curious why that wasn't clear from ?linearHypothesis.

I hope this helps,
 John

-----------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: socialsciences.mcmaster.ca/jfox/
Message-ID: <ACD1644AA6C67E4FBD0C350625508EC83672133C@FHSDB4H16-2.csu.mcmaster.ca>
In-Reply-To: <17507_1510963345_vAI02O7C001810_CF5D22F7-0847-4283-B3DE-4D0B5FB975B8@utah.edu>