Learn R Programming

rigr (version 1.0.7)

dfbetas.uRegress: 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 uRegress
dfbetas(model, ...)

Value

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

Arguments

model

an object of class uRegress, as returned by regress.

...

other arguments to pass to stats::dfbetas