This internal function models a zero-inflated normal distribution through the combined use of a generalized linear model (GLM) fit on a zero vs. non-zero indicator and a GLM fit on all non-zero values.
fit_zeroinfl_normal(covparams, covlink = NA, covname, obs_data, j, model_fits)
Fitted model for the covariate at index \(j\).
List of vectors, where each vector contains information for one parameter used in the modeling of the time-varying covariates (e.g., model statement, family, link function, etc.).
Vector of link functions.
Name of the covariate at index \(j\).
Data on which the model is fit.
Integer specifying the index of the covariate.
Logical scalar indicating whether to return the fitted models. The default is FALSE
.