View source: R/summary-trunc.R
summary.truncmodel | R Documentation |
Provides a summary of the fitted model, including estimated coefficients, standard errors, significance levels, and other relevant statistics.
## S3 method for class 'truncmodel'
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
).
Standard errors.
z-statistics, associated p-values, and corresponding significance codes.
Log-likelihood of the fitted model.
Prints a summary table of coefficients, standard errors, z-values, p-values, significance codes, and log-likelihood.
truncreg
for fitting truncated regression models.
# Example usage
df <- data.frame(x = rnorm(100), y = rpois(100, lambda = 5))
model <- truncreg(y ~ x, df = df, dist = "Poisson")
summary(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.