I have a problem that asks me to calculate studentized deleted residuals from the following set of residuals:
The Hat matrix, diagonal elements hii, SSE/MSE, formula for studentized residuals, and final calculation of the residuals are below:
However, I cannot reproduce these results given the formula! For example, taking the square root of a negative residual in the numerator results in an imaginary number if x>0. Is there another way to calculate these residuals, or something I am I just not getting it? Thanks!