SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 24933: Display the RSQUARE value at the bottom of PROC GPLOT output

DetailsCodeResultsAboutRate It

This sample code first uses PROC REG to calculate the RSQUARE value for the variables used by PROC GPLOT when a linear regression interpolation is specified on a SYMBOL statement. A macro variable is then created using the RSQUARE value. This macro variable is then used on a FOOTNOTE statement to display the RSQUARE value at the bottom of the GPLOT output.

See SAS Note 40504 for a sample that shows how to create this graph using PROC SGPLOT.




These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.