Extracts the residuals from a censored regression object: method for "censReg" object.
1 2 3
an object of class "censReg"—output from
The type of residuals, see Details.
logical, suppress the effects of the
further arguments passed to or from other methods.
The value for
type can be any one of the following:
|"working"||Residuals with censored residuals replaced by their expected values|
|"response"||Residuals from the linear predictor|
|"influence"||An estimate of Cook's D values based on "working" residuals|
|"leverage"||The hat diagonals|
|"S-L"||The square-root of the absolute value of the residuals with censored residuals replaced by their expected value|
Also, any other value of
can be used to obtain those residuals. Note that "working" and "response"
are defined in the table above, in keeping with older versions of
The residuals from the regression as specified by
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.