inlabru-org / inlabru

inlabru
https://inlabru-org.github.io/inlabru/
76 stars 21 forks source link

Support for Ntrials, and corrected exposure support #34

Closed finnlindgren closed 6 years ago

finnlindgren commented 6 years ago

inla.stack.e currently joins exposures E for multiple likelihoods into a matrix, just as for the observables, but it should be a vector (each row of the observable is attached to only one likelihood model, so there is no ambiguity). (also see #33) The inla() behaviour when given an E matrix is unknown and undefined.

Ntrials for the binomial likelihood needs to be handled in the same way as E, and be a parameter to like().

finnlindgren commented 6 years ago

This appears to be addressed on the backend branch.

finnlindgren commented 6 years ago

Solved by a6878afb and e34355e