View source: R/summary-oneinfl.R
summary.oneinflmodel | R Documentation |
Provides a summary of the fitted model, including estimated coefficients, standard errors, significance levels, and other relevant statistics.
## S3 method for class 'oneinflmodel'
summary(object, ...)
object |
A model object of class |
... |
Additional arguments (currently unused). |
This function generates a detailed summary of the fitted model, including:
Estimated coefficients for the rate component (beta
).
Estimated coefficients for the one-inflation component (gamma
).
Standard errors.
z-statistics, associated p-values, and corresponding significance codes.
Average, and average absolute, one-inflation.
Log-likelihood of the fitted model.
Prints a summary table of coefficients, standard errors, z-values, p-values, significance codes, one-inflation probabilities, and log-likelihood.
oneinfl
for fitting one-inflated models.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.