summary.truncmodel {oneinfl}R Documentation

Summarize Truncated Regression Models

Description

Provides a summary of the fitted model, including estimated coefficients, standard errors, significance levels, and other relevant statistics.

Usage

## S3 method for class 'truncmodel'
summary(object, ...)

Arguments

object

A model object of class '"truncmodel"' (for truncated models).

...

Additional arguments (currently unused).

Details

This function generates a detailed summary of the fitted model, including: - Estimated coefficients for the rate component (beta). - Standard errors. - z-statistics, associated p-values, and corresponding significance codes. - Log-likelihood of the fitted model.

Value

Prints a summary table of coefficients, standard errors, z-values, p-values, significance codes, and log-likelihood.

See Also

truncreg for fitting truncated regression models.

Examples

# Example usage
df <- data.frame(x = rnorm(100), y = rpois(100, lambda = 5))
model <- truncreg(y ~ x, df = df, dist = "Poisson")
summary(model)


[Package oneinfl version 1.0.2 Index]