Compute standardized beta coeffizients for robust linear regression models

Description

Compute standardized beta coeffizients for robust linear regression models

Usage

1
betas.lmr(object, classic = FALSE)

Arguments

object

A model of class lmRob.

classic

Logical TRUE for classic covariance estimation.

Value

Vector with standardized beta coefficients.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(robust)
data <- pisa2012che

## robust estimation of betas
fit1 <- lmRob(MATH ~ ESCS, data)
betas.lmr(fit1)

## example where robust variance cannot be computed,
## instead the classical variance is used.
fit2 <- lmRob(MATH ~ ESCS + USEMATH, data)
betas.lmr(fit2)