robust: Coefficient summary table for linear models with robust...

Description Usage Arguments Value Examples

View source: R/robust.R

Description

Coefficient summary table for linear models with robust standard errors and robust CIs

Usage

1
robust(model, type = c("HC1"), level = 0.95, digits = 2)

Arguments

model

A model object created by the fit of linear model using lm()

type

Character string giving type of robust standard error: HC1 is default

level

Confidence coefficient for CIs as proportion: .95 for 95% CIs is default

digits

Number of digits to round coefficients, SEs and CIs to in output. Default is 2.

Value

A table with coefficient estimates, and CIs and P-values based on robust standard errors

Examples

1
2
model <- lm(mpg ~ gear, data = mtcars)
robust(model)

bmckuw/UWb508 documentation built on May 23, 2019, 1:59 a.m.