Skip to content
Prev 8771 / 20628 Next

How to obtain Type 2 like p-values for effects?

Dear Henrik,

The Anova() function in the car package already does this for Wald tests of the fixed effects in a mixed model, using pbkrtest to compute df (in the development version of the car package on R-Forge). We define the "type-II" test as the maximally powerful Wald test for the hypothesis in question obeying marginality.

I hope this helps,
 John

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
	
On Wed, 22 Aug 2012 20:22:40 +0200
Henrik Singmann <henrik.singmann at psychologie.uni-freiburg.de> wrote: