I am fitting a model with a BYM2 random effect and testing the effects of environmental variables that are expected to have non-linear responses, using second-order random walk terms (e.g., temperature in relation to disease risk).
When including variables as fixed effects, my understanding is that variation is first attributed to the fixed effect and the BYM2 term then accounts for the remaining “leftover” spatial variation. My question is: if focal covariates are instead modeled as random effects (to capture non-linear relationships), how is the variation partitioned? Is it primarily allocated to the random-walk term first, since it is lower-dimensional and less complex than the BYM2 term?
I am fitting a model with a BYM2 random effect and testing the effects of environmental variables that are expected to have non-linear responses, using second-order random walk terms (e.g., temperature in relation to disease risk).
When including variables as fixed effects, my understanding is that variation is first attributed to the fixed effect and the BYM2 term then accounts for the remaining “leftover” spatial variation. My question is: if focal covariates are instead modeled as random effects (to capture non-linear relationships), how is the variation partitioned? Is it primarily allocated to the random-walk term first, since it is lower-dimensional and less complex than the BYM2 term?
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/e804e41c-d921-4c03-b9e9-1cb47cee37b4n%40googlegroups.com.