Dear Statalists,
Using zeroinflate() and oneinflate() options in zoib regression, Stata tells me that the options are not allowed because there are not 0s and 1s in the dependent variable, but this is not true.
Do you have any idea about the reason why Stata returns this error? I leave the code below, in case it helps:
zoib vax_kid_beta i.Treatchild_enc, oneinflate(i.Treatchild_enc) zeroinflate(i.Treatchild_enc) cluster(ResponseId)
Thank you in advance!
Using zeroinflate() and oneinflate() options in zoib regression, Stata tells me that the options are not allowed because there are not 0s and 1s in the dependent variable, but this is not true.
Do you have any idea about the reason why Stata returns this error? I leave the code below, in case it helps:
zoib vax_kid_beta i.Treatchild_enc, oneinflate(i.Treatchild_enc) zeroinflate(i.Treatchild_enc) cluster(ResponseId)
Thank you in advance!
Comment