infer,-methods: Inference for fitted model objects.

Description Usage Arguments Details Value Author(s) Examples

Description

Inference for fitted model objects.

Usage

1
infer(fitobj, vars, robust.se=TRUE, two.sided=TRUE, ci.level=0.95, ...)

Arguments

fitobj

Fitted model object, such as those of class lm.

vars

Vector of variable names to obtain inference information for. If not specified, all variables in the fitted model will be used. in the fitted model.

robust.se

Boolean indicator for whether robust standard errors should be use. Defaults to TRUE.

two.sided

Boolean indicator for whether p-values should correspond to a two-sided test or one-sided. Defaults to TRUE.

ci.level

Confidence level. Defaults to 0.95.

...

Not used.

Details

Extract point estimates, standard errors, confidence intervals, p-values, and sample size.

Value

S4 inference object.

Author(s)

Vinh Nguyen

Examples

1
infer(lm(rnorm(100) ~ runif(100)))

inference documentation built on May 1, 2019, 9:21 p.m.