search for: gamm0

Displaying 1 result from an estimated 1 matches for "gamm0".

Did you mean: gamma
2006 Oct 25
1
Help with random effects and smoothing splines in GAMM
Try to fit a longitudinal dataset using generalized mixed effects models via the R function gamm() as follows: library(mgcv) gamm0.fit<- gamm(y ~ x+s(z,bs="cr"), random=list( x=~1, s(z,bs="cr")=~1 ), family = binomial, data =raw) the data is given by raw=(id, y,x,z). It doesn'...