Multi-season models and temporal structure

54 views
Skip to first unread message

Juliana Vélez

unread,
Jun 20, 2025, 5:40:55 PMJun 20
to spOccupancy and spAbundance users
Hi all,

I’m fitting single species multi-season models to account for seasonal trends in occupancy. Instead of using years as primary time periods, I’m thinking about using season_year (e.g., spring_2024, summer_2024, etc). Is there a way to account for the structure of season nested in year when using spOccupancy?

Thanks in advance for your help!

Juliana

Jeffrey Doser

unread,
Jun 22, 2025, 5:34:12 PMJun 22
to Juliana Vélez, spOccupancy and spAbundance users
Hi Juliana,

There is not an extremely elegant way for accounting for such nested temporal structure (e.g., within a sort of classic time series framework). Perhaps the best way to try and account for both levels would be to include two unstructured random effects, with one being for "year" and then the other being for "season_year". So, you'll have to have two numeric variables in your occupancy covariates that indicate the specific year and then the specific "season year" in order to fit those both as random effects. The random effects in the model would then be included with something like "occ.formula = ~ (1 | year) + (1 | site_year) + ...", where ... are everything else. This would be equivalent to using the classic lme4 syntax for a nested random effect of season nested in year, but such nested syntax is not supported in spOccupancy (or spAbundance).

Hope all is well!

Jeff

--
You received this message because you are subscribed to the Google Groups "spOccupancy and spAbundance users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spocc-spabund-u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/spocc-spabund-users/d0055baa-2886-4ed6-b638-a34e5c09294an%40googlegroups.com.


--
Jeffrey W. Doser, Ph.D.
Assistant Professor
Department of Forestry and Environmental Resources
North Carolina State University
Pronouns: he/him/his
Message has been deleted
Message has been deleted

Juliana Vélez

unread,
Jul 9, 2025, 2:50:30 PMJul 9
to spOccupancy and spAbundance users
Hi Jeff,

Thanks for your suggestion, and sorry for the delayed reply! That approach makes sense and is probably a better way to handle the temporal autocorrelation structure of this dataset.

Hope all is well with you too!!

Juliana
Reply all
Reply to author
Forward
0 new messages