dfbetas.uRegress: Calculate dfbetas from 'uRegress' objects

View source: R/regress_diagnostics.R

dfbetas.uRegressR Documentation

Calculate dfbetas from uRegress objects

Description

Extracts dfbetas from uRegress objects by relying on functionality from the stats package. Note that dfbeta and dfbetas are not the same (dfbetas are less than the dfbeta values by a scaling factor that reflects both the leverage of the observation in question and the residual model error).

Usage

## S3 method for class 'uRegress'
dfbetas(model, ...)

Arguments

model

an object of class uRegress, as returned by regress.

...

other arguments to pass to stats::dfbetas

Value

a matrix of dfbetas values, with a row for each observation and a column for each model coefficient


rigr documentation built on Sept. 7, 2022, 1:05 a.m.