Hello Stata user,
I was working on a special leverage plot I wanted to create with "twoway scatter". Therefor I was calculating the "normalized residual squared" the lvr2plot is using. But I have some problems. I have found the equation in the Stata help:

As far as I can see that correctly, e_i_hat is the residual (difference between my y variable and the predicted y value). But which residual is e_j ?
Thanks
Nick
I was working on a special leverage plot I wanted to create with "twoway scatter". Therefor I was calculating the "normalized residual squared" the lvr2plot is using. But I have some problems. I have found the equation in the Stata help:
As far as I can see that correctly, e_i_hat is the residual (difference between my y variable and the predicted y value). But which residual is e_j ?
Thanks
Nick
Comment