powered by
Provides a summary of the fitted model, including estimated coefficients, standard errors, significance levels, and other relevant statistics.
# S3 method for oneinflmodel summary(object, ...)
Prints a summary table of coefficients, standard errors, z-values, p-values, significance codes, one-inflation probabilities, and log-likelihood.
A model object of class "oneinflmodel" (for one-inflated models).
"oneinflmodel"
Additional arguments (currently unused).
This function generates a detailed summary of the fitted model, including:
Estimated coefficients for the rate component (beta).
beta
Estimated coefficients for the one-inflation component (gamma).
gamma
Standard errors.
z-statistics, associated p-values, and corresponding significance codes.
Average, and average absolute, one-inflation.
Log-likelihood of the fitted model.
oneinfl for fitting one-inflated models.
oneinfl
# Example usage df <- data.frame(x = rnorm(100), z = rnorm(100), y = rpois(100, lambda = 5)) model <- oneinfl(y ~ x | z, df = df, dist = "Poisson") summary(model)
Run the code above in your browser using DataLab