betas.lmr: Compute standardized beta coeffizients for robust linear...

Description Usage Arguments Value Examples

View source: R/betas.R

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)

betas documentation built on May 19, 2017, 4:43 p.m.

Search within the betas package
Search all R packages, documentation and source code