0
$\begingroup$

Currently, I'm trying to learn the zero-inflated count model. So, I read about the model in the "pscl" package of R. It said that:

"The formula can be used to specify both components of the model: If a formula of type y ~ x1 + x2 is supplied, then the same regressors are employed in both components. This is equivalent to y ~ x1 + x2 | x1 + x2. Of course, a different set of regressors could be specified for the count and zero-inflation component, e.g., y ~ x1 + x2 | z1 + z2 + z3 giving the count data model y ~ x1 + x2 conditional on (|) the zero-inflation model y ~ z1 + z2 + z3." I understand what this paragraph means, but I don't understand its following sentence, which is: "A simple inflation model where all zero counts have the same probability of belonging to the zero component can by specified by the formula y ~ x1 + x2 | 1."

What is the meaning of "all zero counts have the same probability of belonging to the zero component?" Can someone explain to me with a practical example? And also, how do you choose which formula is appropriate for your research?

Thank you, Hope you all always healthy :)

$\endgroup$

1 Answer 1

1
$\begingroup$

A zero-inflated model has two components. Part 1 models if an observation comes from the "zero component" and is one of the "extra zeros". Part 2 is the "counting distribution", which is the model for how often the event happens in the ordinary observations. These two components can each either the same or different covariates.

For example, consider a study that looks at how often Men vs Women eat Beef per week. Some people might be Vegans and never eat Beef. Other people might eat Beef according to some distribution, but on a certain week they might not have eaten beef just by chance. This gives are two models. The "zero component" model examines whether men or women are more likely to be vegan and thus an "extra zero". The "counting component" model examines if there is a difference in how often the non-vegans eat beef. If we examine the possible relations between sex and eating beef, we could have:

  1. Sex has no relation on either being vegan or how often non-vegans eat beef: y ~ 1 or y ~ 1|1
  2. Sex has a relation on being vegan, but not on eating beef for those who aren't vegan: y ~ 1|sex
  3. Sex has a relation on how often a non-vegan eats beef, but sex does not have a relation on being vegan: y ~ sex|1
  4. Sex has a relation on both being vegan and how often non-vegans eat beef: y ~ sex or y ~ sex|sex

The situation you're asking about is #3. If that setting is the truth, it means that both men and women are equally likely to be a vegan, and thus be one of the "extra zeros". Another way to say this is that it doesn't matter whether you're a man or a women, you're both equally likely to belong to the zero component. That means that if we have a subject with an observed value of 0, we have no extra information on whether they're a vegan or not. Everyone who has an observed value of 0 is equally likely to be a vegan.

Contrast that with setting 2 or 4. In those settings we know that sex has a relation with being vegan. In those settings if we have a subject with an observed value of 0, we could look at their sex and find out more information about if they're vegan or not. We would be able to find out that some of the observed 0s are more likely to be vegan than others.

As for which is appropriate for your research, hopefully you have some idea from previous studies whether a covariate is significant on either component. If not you'll have to fit the model and perform hypothesis tests on the parameters for the two components.

$\endgroup$
3
  • $\begingroup$ I see, I understand your example very well, thank you :). However, I have another question. If the x is a continuous variable, for example the x is empathy. Then, what happen to the interpretation? Can it be like this: Empathy has a relation on both being a meat-eater (non-vegan) and how often meat-eater eating meat: y ~ empathy or y ~ empathy|empathy ? So, can I conclude that in zero model, the x is the variable that responsible for deciding whether a person wants to eat meat/not? $\endgroup$
    – zaataya
    Commented Jun 12, 2021 at 6:29
  • $\begingroup$ Yes, the interpretation is the same and could be like you suggest. The only difference between binary and continuous variables would be the details of the mathematical relationship. A binary variable will lead to 2 different probabilities, while a continuous variable will cause either an increasing or decreasing probability as the variable increases or decreases. The exact relation will depend on the model of the zero component (probably a logistic model). $\endgroup$ Commented Jun 12, 2021 at 12:29
  • $\begingroup$ Okay, I get it. Thank you for the answer! :) $\endgroup$
    – zaataya
    Commented Jun 13, 2021 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.