![]() Usually, if you want to enable the function to be less smooth than a cubic polynomial, you should use the PBSPLINE or LOESS statements rather than specifying DEGREE=4 or a higher degree. ![]() You could instead specify DEGREE=2 for quadratic fit functions. This step also specifies the DEGREE=3 option, which finds cubic polynomial fit functions. If you display the output data set, you will see that the females are displayed first using GraphData1 and the males are displayed second using GraphData2. Females are displayed using the GraphData2 style element, which has red colors. In previous plots, the first observation, Alfred, is male, so males are displayed using the GraphData1 style element, which has blue colors. Previous plots display the males in blue and the females in red. Notice that the color assignment changes. ![]() Both SAS Studio and Enterprise Guide are free options to use with your Base SAS subscription (which is certainly not free). It is offered with the free SAS University Edition, but that has limitations on what it can be used for (non-commercial uses, and limited in those). SAS OnDemand for Academics provides a no-cost online delivery model to professors for teaching and to students for learning data management and analytics. The next step uses a SCATTER statement to display nondefault markers. SAS Studio is no more free than Enterprise Guide. Proc sgplot data=sashelp.class noautolegend
0 Comments
Leave a Reply. |