calcStandardError: Calculate the zero-inflated log-normal statistic's standard error
Description
Calculat the se for the model. Code modified from
"Adjusting for covariates in zero-inflated gamma and
zero-inflated log-normal models for semicontinuous data", ED Mills
Usage
calcStandardError(mod, fitln, fitzero, coef = 2, exclude = NULL)
Arguments
mod
The zero component model matrix
fitln
A matrix with parameters from the log-normal fit
fitzero
A matrix with parameters from the logistic fit
coef
Coefficient of interest
exclude
List of features to exclude