Learn R Programming

summclust (version 0.7.2)

summary.summclust: A summary() method for objects of type summclust

Description

A summary() method for objects of type summclust

Usage

# S3 method for summclust
summary(object, ...)

Value

A printed summary with pvalues, t-statistics, confidence intervals, and leverage statistics

Arguments

object

An object of type summclust

...

misc arguments

References

MacKinnon, James G., Morten Ørregaard Nielsen, and Matthew D. Webb. "Leverage, influence, and the jackknife in clustered regression models: Reliable inference using summclust." arXiv preprint arXiv:2205.03288 (2022).

Examples

Run this code

library(summclust)
data(mtcars)
mtcars

fit <- lm(mpg ~ cyl + disp + hp, data = mtcars)
summ <- summclust(fit, params = ~cyl + disp, cluster = ~carb)
summary(summ)
tidy(summ)
plot(summ)

Run the code above in your browser using DataLab