Hello R users,

I have a quick question I was hoping to get your input on. I am new to R
and the smooth statistical regression world, and am trying to wrap my mind
around the issues concerning using splines for mixed effect modeling.

My question is the following: in the ‘gamm’ function, generalized additive
mixed models can be estimated by including random components. These can be
explicitly defined in the syntax, where you can also define whether the
random component is an intercept, slope, or both. My understanding is that
in the gam/bam function the same is achieved by including the bs="re”
option for random intercepts and linear random slopes. Am I correct? If so,
is there a way to specify whether it is the intercept or slope we are
interested in, and does that have any effect on the output of the model?

I hope these questions make sense, and I look forward to learning more
about this.  Thanks for taking the time to read through this email.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to