rstudent_mat: Calculate studentized residuals with matrix input
Description
Calculate studentized residuals with matrix input
Usage
rstudent_mat(X, y, lev, n, p)
Arguments
X
Numeric matrix; the design matrix
y
Numeric vector; the outcome variable
lev
Numeric vector; the leverage of the "hat" matrix
n
Integer; number of rows in X
p
Integer; number of columns in X