Skip to content
Prev 18822 / 20628 Next

confidence intervals with mvrnorm - upper value equal to inf

You are right, I missed the *truncated* in the nbinom2 model.
In principle, I wanted to use a hurdle model because we are talking
about how many individuals are entangled in a net, and some zeros are
caused by the present of a treatment (reducing entanglement) while
other zeros are caused by the absence of individuals in the water. I
thought a hurdle model would be appropriate.

I now tested both truncated and non truncated nbinom and poisson
models, and the non truncated poisson is the top model in terms of AIC
and its diagnostics plots are good.
            dAIC df
m1.zip   0.0  4
m1.nb   16.7 5
m1.zitp 17.7 4
m1.tnb  20.8 5

I get sensible CI values this time (pred_plot attached).
It seems to me that this model fits the data well, does it make sense
to use this instead of the hurdle model?
I have researched online about ways to compute the likelihood profile
for a zero inflated model, but I haven't found any help. Is there any
resource you'd recommend?

Going back to the Inf values, would (quasi) complete separation be
possible for models other than binomial, though? My response is not
binary, it is a count and I have some positive values different from
1.
I used the same code for the 4 model tested, and only the truncated
models (poisson and nbinom2) predict Inf CI values.

Have a nice start of the week!

Alessandra
On Thu, Oct 15, 2020 at 1:18 PM Ben Bolker <bbolker at gmail.com> wrote:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pred_plot.png
Type: image/png
Size: 5053 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20201019/ab1edfbf/attachment.png>