-
Notifications
You must be signed in to change notification settings - Fork 21
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
Spatio-temporal example for georeferenced data #121
Comments
Hi! The main difference between the LGCP examples and ordinary georeferenced problems is that for the LGCP model the inputs and predictor expressions need to be written so that inlabru can construct and supply new spatial locations to the expressions in order to construct the observation likelihood. This leads to things like the spatial covariate evaluator functions (or now usually automated evaluation of spatial grids) that can still be used for georeferenced models, but are not needed as often. For separable covariance models using "group", it by default works the same as in plain INLA, but there are a few more options available. If the data is stored as a
For plain
If
This maps the years 1995 through 2005 to the indices 1 through 11. This approach also allows interpolation for fractional years; it's even possible to apply the group model to the weights of 2nd degree B-spline basis functions, with e.g. We're currently working on a paper on non-separable space-time models, which will come as single model objects and can be defined with syntax like
(If we package the code nicely, the mapper information may already be pre-defined, just as for the plain spde models that contain the mesh information that inlabru uses to construct the mapper) Since the existing vignettes were meant essentially as a sequence of computer labs, there is definitely room for some shorter vignettes about simper but more common aspects; one issue is usually access to small (but not too small and shareable example data sets; a lot of the 2D random field vignette is taken up by code for sampling synthetic data, before one gets to the actual estimation part. |
(I always hope to collect answers like this into more findable vignette formats, but never seem to find the time to do that... Vignette/documentation contributions would be welcome!) |
Thanks for the quick response, @finnlindgren! If we can our model to work, we would be happy to contribute it as a vignette, probably with simulated data to avoid upsetting collaborators in case they are not ready to share yet |
Hello inlabru team,
I was wondering if you have an updated version of the "08_spatio_temporal.html" example from the old website.
It looks like all current vignettes are about LGCP. It would be nice to have a vignette corresponding to the Section "GEOREFERENCED DATA FROM A CONTINUOUS SPATIAL FIELD" of the inlabru paper and even better if there is an example with multiple years and/or multiple observations per location.
I know it is easy to ask and totally understand if the team has no bandwidth for this.
We appreciate your work!
The text was updated successfully, but these errors were encountered: