LOESS plot for simulated data

The above graph is the scatter plot of the simulated data. The graph has loess smoothing curve with default value of span =0.75.

In the above second graph, residuals are graphed against the loess curve with the default span.

In third graph, I have constructed scatter plot using same simulated data and selected suitable smoothing parameter, alpha = 0.25. We can see there is some changes in loess curve after reducing the alpha to 0.25.

Finally, the fourth graph below is of residual plot for the fit with f=0.25. The graph clearly shows that there is no specific pattern on the residuals on x variable. Though the loess curve has f =0.75, the smoothing curve does not distort the underlying pattern for the smoothing parameter.

 

 

 

Leave a Reply