you're likely looking at a joint model where some components are shared
/are the same, between the models, and you have one set of observations
for each.
this is 'straight forward' in theory, but you need to know what you're
doing. the spde-book have examples of this kind, please check that one
online. please build your joint model in small steps to keep control.
here is the example you asked for, a single intercept observed as 1 in a
binomial and 2 in a poisson (of'course, the example does not make any
sense, but its a proof of concept)
> y=matrix(NA,2,2)
> diag(y) = c(1,2)
> y
[,1] [,2]
[1,] 1 NA
[2,] NA 2
> r=inla(y ~ 1, data = list(y=y), family=c("binomial", "poisson"))
> r$summary.fixed
mean sd 0.025quant 0.5quant
0.975quant
(Intercept) 0.8331420422 0.6297788024 -0.5375458096 0.8833363934
1.931141256
mode kld
(Intercept) 0.988442421 3.596643302e-06
> --
> 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/6be5cb4d-480e-497f-88e9-e0274dbf0436n%40googlegroups.com
> .
--
Håvard Rue
he...@r-inla.org