Hi I'm running a polynomial regression of property value on distance, and am graphing multiple versions of property value against the same continuous distance variable. I can suppress the raw data via noscatter for the lpoly graphical output, but cannot find a similar command for Lowess. I am also not entirely certain the difference between the two as they both claim to be doing localized regression at the bin distances. Can anyone tell me 1. how to supress the lowess scatter data leaving only a smoothed line, and 2. what exactly I'm trading off between lowess and lpoly?
here's a look at my .do file, I was trying the mcolor to at least make the scatter data fade a bit (which it didn't do), and I have a similar one for the lpoly version:
graph twoway (scatter resid_78 resid_9 near_km if near_km<100) ///
(lowess resid_9 near_km, mcolor(*.1) clpattern(_)) ///
(lowess resid_78 near_km, mcolor(*.1))
Thanks
here's a look at my .do file, I was trying the mcolor to at least make the scatter data fade a bit (which it didn't do), and I have a similar one for the lpoly version:
graph twoway (scatter resid_78 resid_9 near_km if near_km<100) ///
(lowess resid_9 near_km, mcolor(*.1) clpattern(_)) ///
(lowess resid_78 near_km, mcolor(*.1))
Thanks
Comment