MULTISPECIES MODELLING

55 views
Skip to first unread message

Dan

unread,
Jun 2, 2021, 7:59:40 PM6/2/21
to R-inla discussion group
Hi all,

If I use a dataset with 4 species, what would be the Spatio-temporal model looks like?

specieseffect = rep(1:n,4)
group = rep(1:4, each = n)
 
formula = Count ~ independent variables + interactions (if available) + f(sp, model = spde) + f(temp, model = "ar1") + f(specieseffect, model = "rw1", group = group, contro.group = list(model =  "exchangable")  

Is this correct or do I have to remove some terms or add some terms here?

Many thanks
Dan

Elias T. Krainski

unread,
Jun 8, 2021, 3:17:18 PM6/8/21
to Dan, R-inla discussion group
There are examples in the "Spatial and Spatio-temporal Bayesian models with R-INLA" book. More information from: https://www.r-inla.org/learnmore/books

--
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 on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/5b019079-5f70-418a-9cf1-6ef9b675d2b5n%40googlegroups.com.

Udani Wijewardhana

unread,
Jun 8, 2021, 5:05:43 PM6/8/21
to Elias T. Krainski, R-inla discussion group
Thank you


From: Elias T. Krainski <eliask...@gmail.com>
Sent: Wednesday, June 9, 2021 5:17:04 AM
To: Dan <udaniwij...@gmail.com>
Cc: R-inla discussion group <r-inla-disc...@googlegroups.com>
Subject: Re: [r-inla] MULTISPECIES MODELLING
 
Reply all
Reply to author
Forward
0 new messages