Computes the expected value from a one-inflated Poisson (OIPP) distribution based on the model parameters and covariates.
E_pois(b, g, X, Z)A numeric vector of expected values for each observation in the dataset.
Numeric vector of coefficients for the main Poisson model.
Numeric vector of coefficients for the one-inflation process.
Matrix of predictors for the main Poisson model, where rows correspond to observations and columns to covariates.
Matrix of predictors for the one-inflation process, structured similarly to `X`.
dEdq_pois for computing partial derivatives of expected values in the OIPP model.