dfbeta.uRegress: Calculate dfbeta from 'uRegress' objects

View source: R/regress_diagnostics.R

dfbeta.uRegressR Documentation

Calculate dfbeta from uRegress objects

Description

Extracts dfbeta 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'
dfbeta(model, ...)

Arguments

model

an object of class uRegress, as returned by regress.

...

other arguments to pass to stats::dfbeta

Value

a matrix of dfbeta 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.