Title
[R] zinb -- Zero-inflated negative binomial regression
Syntax
zinb depvar [indepvars] [if] [in] [weight], inflate(varlist[, offset(varname)]|_cons) [options]
options Description
-----------------------------------------------------------------------------------------------------------------------------------------------------
Model
* inflate() equation that determines whether the count is zero
noconstant suppress constant term
exposure(varname_e) include ln(varname_e) in model with coefficient constrained to 1
offset(varname_o) include varname_o in model with coefficient constrained to 1
constraints(constraints) apply specified linear constraints
collinear keep collinear variables
probit use probit model to characterize excess zeros; default is logit
SE/Robust
vce(vcetype) vcetype may be oim, robust, cluster clustvar, opg, bootstrap, or jackknife
Reporting
level(#) set confidence level; default is level(95).
irr report incidence-rate ratios
vuong perform Vuong test
zip perform ZIP likelihood-ratio test
nocnsreport do not display constraints
display_options control column formats, row spacing, line width, display of omitted variables and base and empty cells, and
factor-variable labeling
Maximization
maximize_options control the maximization process; seldom used
coeflegend display legend instead of statistics
-----------------------------------------------------------------------------------------------------------------------------------------------------
* inflate(varlist[, offset(varname)]|_cons) is required.
indepvars and varlist may contain factor variables; see fvvarlist.
bootstrap, by, fp, jackknife, rolling, statsby, and svy are allowed; see prefix.
Weights are not allowed with the bootstrap prefix.
vce(), vuong, zip, and weights are not allowed with the svy prefix.
fweights, iweights, and pweights are allowed; see weight.
coeflegend does not appear in the dialog box.
See [R] zinb postestimation for features available after estimation.
Menu
Statistics > Count outcomes > Zero-inflated negative binomial regression
Description
zinb estimates a zero-inflated negative binomial (ZINB) regression of depvar on indepvars, where depvar is a nonnegative count variable.