You must specify the DEPENDENT=, INDEPENDENTS=, and PREDICTED= options. The remaining options have defaults and are not required. The macro provides the following options:
specifies the SAS data set to be displayed. If you do not specify this option, the %Marginal macro uses the most recently created SAS data set.
specifies the dependent variable. You must specify this option.
specifies GTL BEGINGRAPH statement graph size options. The default size depends on the number of rows and columns in the panel.
Rows and Columns |
Default GOPTS= |
---|---|
, |
DESIGNWIDTH=DEFAULTDESIGNHEIGHT |
|
DESIGNHEIGHT=360PX |
|
|
|
DESIGNHEIGHT=520PX |
, , others |
DESIGNHEIGHT=DEFAULTDESIGNWIDTH |
specifies the independent variables. You must specify this option.
specifies the number of rows and columns in the panel. Specify two values (rows then columns) or one value (when the number of rows equals the number of columns). For example, PANEL=2 3. Additional panels are automatically created when you have more graphs than available cells in the current panel. The default depends on both the number of independent variables and the number of graphs that can fit in a panel. For example, the default for 16 cells (14 independent variables, one predicted values plot, and a legend) is a panel; the default for 17 cells (15 independent variables, one predicted values plot, and a legend) is two panels (each panel has eight graphs and a legend that fills 18 cells). By default, the macro chooses to fill two panels that have fewer cells rather than to display more graphs in a first panel that has more cells and the last few graphs in the second panel. Multiple panels always have the same number of cells, although some cells might not be filled in the last panel. Defaults include , , , , and .
specifies the variable that contains the predicted values. You must specify this option.
specifies the smoothing method.
LOESS specifies a loess fit
PBSPLINE specifies a penalized B-spline
REGRESSION specifies a linear regression
REGRESSION along with SMOOTHOPTS=DEGREE=3 specifies a cubic-polynomial regression.
By default, SMOOTH=LOESS.
specifies GTL options for smoothing. These options are added to the GTL LOESSPLOT, PBSPLINEPLOT or REGRESSIONPLOT statement. By default, no options are specified.