this is possible only if one of p_1 and p_2, and one of c1 and c2, are simple,
like only contain fixed effects
even at this point, it will require new implementation to be done
On Wed, 2025-02-26 at 19:01 -0800, Ruby Ji wrote:
> Dear INLA group,
>
> I have a question regarding a double hurdle model that I am developing. I plan
> to fit a hurdle model for the “small” and “large” classes separately. My
> available data include observations of the total count (small + large) as well
> as additional but not a lot of composition information. I have a few questions
> concerning the likelihood formulation for the total count.
>
> The structure of my double hurdle model is as follows:
>
> For class “small”:
> • Probability part:
> logit(p₁) = β₁₁ + year₁₁ + spatial₁₁
> • Positive count part:
> log(c₁) = β₁₂ + year₁₂ + spatial₁₂
>
> For class “large”:
> • Probability part:
> logit(p₂) = β₂₁ + year₂₁ + spatial₂₁
> • Positive count part:
> log(c₂) = β₂₂ + year₂₂ + spatial₂₂
>
> Likelihood:
> • For the encounter process, I model the binary indicator (e,
> which takes the value 0 or 1) as:
> e ~ dbinomial(1 − (1 − p₁) × (1 − p₂))
> # where p₁ and p₂ are the encounter probabilities for
> “small” and “large,” respectively.
>
> • For the positive counts, I assume:
> y ~ dpoisson(exp(c₁) + exp(c₂))
> # Here, exp(c₁) and exp(c₂) represent the expected
> positive counts for each class.
>
> My main question is about the positive count likelihood:
> Is it appropriate to simply model the total positive count as the sum of the
> expected counts from the two classes (i.e., exp(c₁) + exp(c₂))? I am concerned
> that this approach might not fully capture potential differences in the
> contribution of each class to the overall count, and I would appreciate any
> suggestions or references regarding this formulation.
>
> Additionally, could you please advise if INLA is capable of fitting such a
> model?
>
> Thank you very much for your help.
>
> Best regards,
> Ruby
> --
> 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, visit
>
https://groups.google.com/d/msgid/r-inla-discussion-group/93c2d034-ef97-46cb-8090-a7f0e18fbdcdn%40googlegroups.com
> .
--
Håvard Rue
hr...@r-inla.org