Calculates studentized residuals using $$ t_i = \frac{\hat{\varepsilon}_{i}}{\hat{\sigma}_{\varepsilon}^{2} \sqrt{1 - h_{ii}}} $$
.tepsilonhat( epsilonhat = NULL, h = NULL, sigma2hatepsilonhat = NULL, X = NULL, y = NULL )
epsilonhat | Numeric vector of length |
---|---|
h | Numeric vector of length |
sigma2hatepsilonhat | Numeric. Estimate of error variance. |
X |
|
y | Numeric vector of length |
Returns studentized residuals.
If epsilonhat
, h
, or sigma2hatepsilonhat
are NULL
,
they are calculated using X
and y
.
Other residuals functions:
.My()
,
.yminusyhat()
,
My()
,
epsilonhat()
,
tepsilonhat()
,
yminusyhat()
Ivan Jacob Agaloos Pesigan