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

INLA - Allow spatial dependency to be dataset specific #10

Closed
Martin-Jung opened this issue Jul 5, 2021 · 1 comment
Closed

INLA - Allow spatial dependency to be dataset specific #10

Martin-Jung opened this issue Jul 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Martin-Jung
Copy link
Collaborator

Currently the add_latent_spatial() for INLA only add a single spatial latent effect as SPDE to the model that is then shared in case multiple likelihoods are specified. This thus assumes that there across datasets/likelihoods there is a single source of spatial dependency/errors that are shared by all datasets.
Another option would be to have individual new latent effects that are shared but specific for each dataset. This could be added as a parameter add_latent_spatial() (maybe separate_spde = FALSE ?)
So
f(spatialfield1, model=spde, hyper=priors)
and
f(spatialfield2, copy='spatialfield1', fixed=FALSE, hyper=priors),

@Martin-Jung Martin-Jung added the enhancement New feature or request label Jul 5, 2021
@Martin-Jung
Copy link
Collaborator Author

Partially a duplicate of #7

Martin-Jung added a commit that referenced this issue Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant