This function creates a "bubble" plot of studentized residuals by hat values, with the areas of the
circles representing the observations proportional to Cook's distances. Vertical reference lines are drawn
at twice and three times the average hat value, horizontal reference lines at -2, 0, and 2 on the
studentized-residual scale.