E_pois | R Documentation |
Computes the expected value from a one-inflated Poisson (OIPP) distribution based on the model parameters and covariates.
E_pois(b, g, X, Z)
b |
Numeric vector of coefficients for the main Poisson model. |
g |
Numeric vector of coefficients for the one-inflation process. |
X |
Matrix of predictors for the main Poisson model, where rows correspond to observations and columns to covariates. |
Z |
Matrix of predictors for the one-inflation process, structured similarly to |
A numeric vector of expected values for each observation in the dataset.
dEdq_pois
for computing partial derivatives of expected values in the OIPP model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.