gamm4: predict to reflect random effects?
Hi Mark, Since no one replied to my question, I assume that the answer given by Simon Wood in 2011 is still current. http://r.789695.n4.nabble.com/mgcv-gamm-predict-to-reflect-random-s-effects-td3622738.html As Wood suggests at the link (scroll down), my lab group is using gam() with a spline for the random effect like s(Subject,bs="re") Cheers, Mollie ------------------------ Mollie Brooks, PhD Postdoctoral Researcher, Population Ecology Research Group Institute of Evolutionary Biology & Environmental Studies, University of Z?rich http://www.popecol.org/team/mollie-brooks/