[R-sig-ME] Random effects in GAMs

Julian Chen power.julian.chen at gmail.com
Fri Feb 12 19:58:58 CET 2016


I am now trying to use random effects in GAMs developed by Professor Simon
Wood. Prof Wood uses  s(...,bs="re") to account for the random effects.
Random intercepts models or random slopes models are two different types of
mixed linear models or general random effects model (Cameron and Trivedi,
2005). I wonder if the Wood's method includes both random intercepts and
random slopes. Based on my understanding, this method does? Anyone can help
me clarify this method? The following is the link of Random effects in GAM
developed by Prof Wood.

https://stat.ethz.ch/R-manual/R-devel/library/mgcv/html/random.effects.html

-- 
Life is nothing but a dream,
     and if we are artists,
then we can create our life with Love,
     and our dream becomes
       a masterpiece of art.

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list