rstandard.kspm {KSPM} | R Documentation |
Standardized residuals for Kernel Semi parametric Model Fits
Description
computes standardized residuals for an object of class "kspm".
Usage
## S3 method for class 'kspm'
rstandard(model, ...)
Arguments
model |
an model of class "kspm", usually, a result of a call to |
... |
furter arguments passed to or from other methods (currently unused). |
Details
Standardized residuals t_i
are obtained by t_i = \frac{e_i}{\hat{\sigma} \sqrt{1 - h_{ii}}}
where e_i
is the residual, \hat{\sigma}
is the estimated standard deviation of the errors and h_{ii}
is the leverage of subject i, i.e. the i th diagonal element of the Hat matrix.
Value
a vector containing the standardized residuals.
Author(s)
Catherine Schramm, Aurelie Labbe, Celia Greenwood
See Also
kspm for fitting model, residuals.kspm, cooks.distance.kspm, plot.kspm.
[Package KSPM version 0.2.1 Index]