Sorry, I believe my previous post wasn’t
clear enough.
If in negative binomial responses, the mean is linked to the linear predictor
by
μ = E exp(η)
Then
log(μ) = log(E) + η
Where log (E) is the offset term.
Then why when I run a model as:
r = inla(y ~ 1 +cov + f(u, model="bym"), family= "poisson",
data = data.frame(y, cov, u), E = E)
I am getting widely different results than when I run the model as below?
Shouldn’t they yield similar results?
r = inla(y ~ 1 +cov + f(u, model="bym"), family= "poisson",
data = data.frame(y, cov, u), offset= log(E))
I hope I explained myself better.
Victor.