Diederik,
The `gamm' call looks fine provided `park' is nested in `count'. You are
basically adding a random effect for each survey, and a random effect for
each `park' within survey to the the smooth effects.
best,
Simon
ps. I assume there are more than 18 observations in the full dataset
Dear all,
I have a question on the use of GAM with repeated measures. My dataset is as
follows:
- a number of study areas where bird abundance has been determined. Counts have
been performed in 3 consecutive years and there were 2 counts per year (i.e. in
total 6 counts).
- a number of
`gamm' in package `mgcv' will let you specify random effects as part of a
generalized additive mixed model, but I must admit that I'm a bit confused
about what `Bird_abundance' is here, and how it differs from `Count'.
best,
Simon
On Wednesday 28 January 2009 17:09, Strubbe Diederik wrote:
Dear Simon,
Many thanks for pointing me to the GAMM! For clarification, Bird_abundance are
breeding densities ( e.g. 1.25 BP/ha, 2.20 BP/ha,...) and count is just the
actual survey(e.g. first_survey,...). The dataset looks like
Bird_abundance Study_area YEARCOUNT X1 X2 X3
4 matches
Mail list logo