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

Change-of-support references #20

Open
jkbest2 opened this issue May 22, 2018 · 0 comments
Open

Change-of-support references #20

jkbest2 opened this issue May 22, 2018 · 0 comments

Comments

@jkbest2
Copy link

jkbest2 commented May 22, 2018

Following up on today's change-of-support discussion, I found this thread on the INLA mailing list. It mentions that you can do a change-of-support (integrating over an area) with INLA by constructing an appropriate projection matrix, typically termed the A matrix in INLA-land. It looks like the inla.spde.make.A and inla.spde.make.block.A are the functions to look at here. I haven't run through an example, but I think the resulting A matrix could then be passed to TMB as a sparse matrix, allowing a change of support via a sparse matrix multiplication. Of course, the change of support has to happen on the linear scale for this to work.

Looks pretty slick, I'd be interested to hear if anyone gets it working!

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