Interaction: | A linear regression (DEGREE=1) cannot be used with logarithmic axes. |
Examples: | About Regression Plots |
proc template; define style MyStyleDefault; parent=Styles.Default; style GraphBand from GraphBand / DisplayOpts = "Fill outline"; end; run; ods listing style= MyStyleDefault; proc sgplot data=sashelp.class; reg x=height y=weight / CLM CLMATTRS=(CLMLINEATTRS= (COLOR=Green PATTERN= ShortDash)); run;
For grouped data, the default color is specified by the ContrastColor attribute of the GraphData1 ... GraphDatan style elements in the current style.
For grouped data, the default line pattern is specified by the LineStyle attribute of the GraphData1 ... GraphDatan style elements in the current style.
For grouped data, the default line thickness is specified by the LineThickness attribute of the GraphData1 ... GraphDatan style elements in the current style.
For grouped data, the default color is specified by the ContrastColor attribute of the GraphData1 ... GraphDatan style elements in the current style.
For grouped data, the default marker symbol is specified by the MarkerSymbol attribute of the GraphData1 ... GraphDatan style elements in the current style.