sysuse auto.dta, clear regress mpg weight predict mpghat, xb twoway (scatter mpg weight, sort) (line mpghat weight, sort)