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,
20
I am now using random effects of GAM to predict crash frequency at
intersections. The family is negative binomial distribution. I wonder if
this term bs="re" developed by Prof Simon Wood can account for both random
intercepts and random slopes effects together?
It is longitudinal data. The number
2 matches
Mail list logo