stdEr: Standard deviations

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/stdEr.R

Description

Extract standard deviations from estimated models.

Usage

1
2
3
4
5
  stdEr(x, ...)
## Default S3 method:
stdEr(x, ...)
## S3 method for class 'lm'
stdEr(x, ...)

Arguments

x

a statistical model, such as created by lm

...

further arguments for methods

Details

stdEr is a generic function with methods for objects of "lm" class. The default method returns the square root of the diagonal of the variance-covariance matrix.

Value

numeric, the estimated standard errors of the coefficients.

Author(s)

Ott Toomet otoomet@ut.ee

See Also

vcov, summary.

Examples

1
2
3
data(cars)
lmRes <- lm(dist ~ speed, data=cars)
stdEr( lmRes )

miscTools documentation built on Dec. 9, 2019, 3 a.m.

Related to stdEr in miscTools...