BookmarkSubscribeRSS Feed
joshg3p0
Calcite | Level 5

How do I interpret the fit statistics of proc LOESS to know if the form is a good fit?   I ran PROC LOESS to explain price sensitivity  (which appeared to me to be nonlinear, and not explained well with a curve).   When I plot predicted values along with the actual behavior, the LOESS clearly explains it nicely, but, given the limited fit output (residual sum of squares, etc...) how can I assess the output?  Thanks!

1 REPLY 1
Rick_SAS
SAS Super FREQ

You can specify PLOT=DIAGNOSTICS on the PROC LOESS statement and look at the resulting diagnostics panel.  Those are the same diagnostics plots that are produced by other regression routines.

If you want to be sure that the value of the smoothing parameter is the optimal value for the data, you can evaluate way that the smoothing parameter is seleted by requesting a CRITERIONPLOT.  That shows the AICC criterion for various smoothing parameters.See the second example of this article: How to automatically select a smooth curve for a scatter plot in SAS - The DO Loop

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2462 views
  • 1 like
  • 2 in conversation