Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider how random effects are fitted #10

Open
Aariq opened this issue Apr 22, 2022 · 0 comments
Open

Consider how random effects are fitted #10

Aariq opened this issue Apr 22, 2022 · 0 comments

Comments

@Aariq
Copy link
Member

Aariq commented Apr 22, 2022

Since there are several ways to include random effects for GAMs, it might be worthwhile thinking about which is best. A simple random intercept (s(year, bs = "re")) is probably what most demographers would do. A random smoother for each year (s(log_size_prev, year, bs = "fs")) is probably the best fit to the data. Ideas outlined in notes/environmental stochasticity.Rmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant