sysuse auto, clear quietly regress mpg weight predict hat predict stf, stdf gen lo = hat - 1.96*stf gen hi = hat + 1.96*stf scatter mpg weight || line hat lo hi weight, pstyle(p2 p3 p3) sort