Provides actions for fitting Generalized Additive Models
Fits generalized additive models by penalized likelihood.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after the model is fit. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring. |
specifies the significance level to use for hypothesis testing of regression parameters and spline effects, and for the construction of all confidence bands.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
names the classification variables to use as explanatory variables in the analysis.
The classStatement value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | FALSE |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | FALSE |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | FALSE |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | FALSE |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies the classification variables.
| Alias | name |
|---|
lists options that apply to all classification variables.
| Long form | classGlobalOpts={param="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE"} |
|---|---|
| Shortcut form | classGlobalOpts="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE" |
The classopts value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | FALSE |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | FALSE |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | FALSE |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | FALSE |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
For more information, see the description of the order subparameter in the class parameter (Shared Concepts).
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
For more information, see the description of the param subparameter in the class parameter (Shared Concepts).
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
names the numeric variable that contains the frequency of occurrence for each observation.
when set to True, requests an iteration history table for smoothing parameters or for regression parameters when fixed smoothing parameters are specified.
| Default | FALSE |
|---|
specifies the maximum name length for new columns in any output data table that is created on the CAS server.
| Alias | maxNameLength |
|---|
| Default | 32 |
|---|---|
| MAX | sets the maximum name length to the maximum integer. |
| MIN | sets the maximum name length to 20. |
| SASV9 | sets the maximum name length to 32 (which is the maximum valid name length in SAS version 9). |
names the dependent variable, parametric effects, spline effects, and model options.
The gamplmodel value can be one or more of the following:
when set to True, constructs a spline by including all observations that do not have a missing value for any variable that is specified in that spline.
| Default | FALSE |
|---|
adjusts the model fitting criterion for optimization.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
The responsevar value can be one or more of the following:
names the response variable.
specifies a list of parameters for the response variable.
The modelopts value can be one or more of the following:
when set to True, reverses the sort order of the response categories. When the descending parameter is set to True and a value is specified for the order parameter, the action orders the response categories according to the requested order and then reverses that order.
| Default | FALSE |
|---|
specifies the event category for the binary response model. FIRST and LAST refer to the first and last ordered value of the response, respectively.
specifies the sort order for the levels of the response variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the reference level that is used for the response variable. Valid parameter values are a quoted string that specifies a valid level for the response variable or FIRST or LAST. FIRST and LAST refer to the first and last ordered value of the variable, respectively.
specifies the response distribution for the model.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, uses the finite difference Hessian for optimization.
| Default | FALSE |
|---|
specifies the initial dispersion parameter.
| Minimum value | 0 |
|---|
specifies the link function for the model.
specifies the maximum dispersion parameter.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum dispersion parameter.
| Minimum value | 0 |
|---|
when set to True, requests normalized spline basis functions for model fitting.
| Default | FALSE |
|---|
specifies a numeric offset variable. This variable cannot be a classification variable, a response variable, or one of the explanatory variables.
specifies the fixed dispersion parameter.
| Alias | dispersion |
|---|---|
| Minimum value | 0 |
specifies the ridge parameter.
| Default | 0 |
|---|---|
| Range | 0–1 |
names the spline effects to use in the generalized additive models.
The splineTerm value can be one or more of the following:
when set to True, displays knot values for a spline term.
| Default | FALSE |
|---|
when set to True, displays the penalty matrix for a spline term.
| Default | FALSE |
|---|
when set to True, displays detailed spline construction parameters.
| Default | FALSE |
|---|
specifies the fixed degrees of freedom for a spline term.
| Minimum value | 0 |
|---|
specifies the initial smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies a list of knot values to use for a spline term.
specifies the order of the derivative in the smoothness penalty for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum degrees of freedom for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum number of knots for a spline term.
| Default | 2000 |
|---|---|
| Minimum value | 1 |
specifies the maximum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the minimum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the fixed smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the variables to use in a spline term.
specifies a positive numeric variable that is the number of trials. When you specify a trial variable, the response variable is called the events variable and it must contain the number of positive responses (or events).
specifies the initial power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
specifies a constant to be added to the response for evaluating the quasi-likelihood for the Tweedie distribution.
| Minimum value | 0 |
|---|
specifies the fixed power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, suppresses all output.
| Default | FALSE |
|---|
creates a table on the server that contains observationwise statistics, which are computed after the model is fit.
The gamplOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of all confidence bands.
| Range | (0, 1) |
|---|
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
when set to True, requests componentwise statistics such as standard errors and confidence bands for each individual spline term.
| Default | FALSE |
|---|
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
names the predicted response level. The default name is Into.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|---|
| Range | (0, 1) |
names the lower Bayesian confidence band for the predicted value. The default name is Lower.
| Aliases | lclm |
|---|---|
| lowerMean |
names the Pearson chi-square residual. The default name is Pearson.
| Aliases | resChi |
|---|---|
| pears |
names the predicted value. If you do not specify any output statistics, then the predicted value is named Pred by default.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
names the residual. The default name is Resid.
| Aliases | residual |
|---|---|
| r |
names the standard error of the linear predictor. The default name is Std.
names the upper Bayesian confidence band for the predicted value. The default name is Upper.
| Aliases | uclm |
|---|---|
| upperMean |
names the linear predictor. The default name is Xbeta.
| Alias | linp |
|---|
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies optimization parameters for maximum (penalized) likelihood estimation.
| Long form | plikeOpts={technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | plikeOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the singularity criterion in Cholesky decomposition and matrix inversion operations.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies the singularity criterion in truncated eigendecomposition to determine its convergence.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies optimization parameters for smoothing parameter optimization.
| Long form | smoothOpts={technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | smoothOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring.
For more information about specifying the store parameter, see the common casouttablebasic parameter (Appendix A: Common Parameters).
| Aliases | savemodel |
|---|---|
| save | |
| savestate |
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
names the numeric variable to use to perform a weighted analysis of the data.
Fits generalized additive models by penalized likelihood.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after the model is fit. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring. |
specifies the significance level to use for hypothesis testing of regression parameters and spline effects, and for the construction of all confidence bands.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
names the classification variables to use as explanatory variables in the analysis.
The classStatement value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | false |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | false |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | false |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | false |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies the classification variables.
| Alias | name |
|---|
lists options that apply to all classification variables.
| Long form | classGlobalOpts={param="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE"} |
|---|---|
| Shortcut form | classGlobalOpts="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE" |
The classopts value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | false |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | false |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | false |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | false |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
For more information, see the description of the order subparameter in the class parameter (Shared Concepts).
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
For more information, see the description of the param subparameter in the class parameter (Shared Concepts).
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
names the numeric variable that contains the frequency of occurrence for each observation.
when set to True, requests an iteration history table for smoothing parameters or for regression parameters when fixed smoothing parameters are specified.
| Default | false |
|---|
specifies the maximum name length for new columns in any output data table that is created on the CAS server.
| Alias | maxNameLength |
|---|
| Default | 32 |
|---|---|
| MAX | sets the maximum name length to the maximum integer. |
| MIN | sets the maximum name length to 20. |
| SASV9 | sets the maximum name length to 32 (which is the maximum valid name length in SAS version 9). |
names the dependent variable, parametric effects, spline effects, and model options.
The gamplmodel value can be one or more of the following:
when set to True, constructs a spline by including all observations that do not have a missing value for any variable that is specified in that spline.
| Default | false |
|---|
adjusts the model fitting criterion for optimization.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
The responsevar value can be one or more of the following:
names the response variable.
specifies a list of parameters for the response variable.
The modelopts value can be one or more of the following:
when set to True, reverses the sort order of the response categories. When the descending parameter is set to True and a value is specified for the order parameter, the action orders the response categories according to the requested order and then reverses that order.
| Default | false |
|---|
specifies the event category for the binary response model. FIRST and LAST refer to the first and last ordered value of the response, respectively.
specifies the sort order for the levels of the response variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the reference level that is used for the response variable. Valid parameter values are a quoted string that specifies a valid level for the response variable or FIRST or LAST. FIRST and LAST refer to the first and last ordered value of the variable, respectively.
specifies the response distribution for the model.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, uses the finite difference Hessian for optimization.
| Default | false |
|---|
specifies the initial dispersion parameter.
| Minimum value | 0 |
|---|
specifies the link function for the model.
specifies the maximum dispersion parameter.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum dispersion parameter.
| Minimum value | 0 |
|---|
when set to True, requests normalized spline basis functions for model fitting.
| Default | false |
|---|
specifies a numeric offset variable. This variable cannot be a classification variable, a response variable, or one of the explanatory variables.
specifies the fixed dispersion parameter.
| Alias | dispersion |
|---|---|
| Minimum value | 0 |
specifies the ridge parameter.
| Default | 0 |
|---|---|
| Range | 0–1 |
names the spline effects to use in the generalized additive models.
The splineTerm value can be one or more of the following:
when set to True, displays knot values for a spline term.
| Default | false |
|---|
when set to True, displays the penalty matrix for a spline term.
| Default | false |
|---|
when set to True, displays detailed spline construction parameters.
| Default | false |
|---|
specifies the fixed degrees of freedom for a spline term.
| Minimum value | 0 |
|---|
specifies the initial smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies a list of knot values to use for a spline term.
specifies the order of the derivative in the smoothness penalty for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum degrees of freedom for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum number of knots for a spline term.
| Default | 2000 |
|---|---|
| Minimum value | 1 |
specifies the maximum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the minimum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the fixed smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the variables to use in a spline term.
specifies a positive numeric variable that is the number of trials. When you specify a trial variable, the response variable is called the events variable and it must contain the number of positive responses (or events).
specifies the initial power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
specifies a constant to be added to the response for evaluating the quasi-likelihood for the Tweedie distribution.
| Minimum value | 0 |
|---|
specifies the fixed power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, suppresses all output.
| Default | false |
|---|
creates a table on the server that contains observationwise statistics, which are computed after the model is fit.
The gamplOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of all confidence bands.
| Range | (0, 1) |
|---|
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
when set to True, requests componentwise statistics such as standard errors and confidence bands for each individual spline term.
| Default | false |
|---|
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
names the predicted response level. The default name is Into.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|---|
| Range | (0, 1) |
names the lower Bayesian confidence band for the predicted value. The default name is Lower.
| Aliases | lclm |
|---|---|
| lowerMean |
names the Pearson chi-square residual. The default name is Pearson.
| Aliases | resChi |
|---|---|
| pears |
names the predicted value. If you do not specify any output statistics, then the predicted value is named Pred by default.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
names the residual. The default name is Resid.
| Aliases | residual |
|---|---|
| r |
names the standard error of the linear predictor. The default name is Std.
names the upper Bayesian confidence band for the predicted value. The default name is Upper.
| Aliases | uclm |
|---|---|
| upperMean |
names the linear predictor. The default name is Xbeta.
| Alias | linp |
|---|
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies optimization parameters for maximum (penalized) likelihood estimation.
| Long form | plikeOpts={technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | plikeOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the singularity criterion in Cholesky decomposition and matrix inversion operations.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies the singularity criterion in truncated eigendecomposition to determine its convergence.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies optimization parameters for smoothing parameter optimization.
| Long form | smoothOpts={technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | smoothOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring.
For more information about specifying the store parameter, see the common casouttablebasic parameter (Appendix A: Common Parameters).
| Aliases | savemodel |
|---|---|
| save | |
| savestate |
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
names the numeric variable to use to perform a weighted analysis of the data.
Fits generalized additive models by penalized likelihood.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after the model is fit. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring. |
specifies the significance level to use for hypothesis testing of regression parameters and spline effects, and for the construction of all confidence bands.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
names the classification variables to use as explanatory variables in the analysis.
The classStatement value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | False |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | False |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | False |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | False |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies the classification variables.
| Alias | name |
|---|
lists options that apply to all classification variables.
| Long form | classGlobalOpts={"param":"BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE"} |
|---|---|
| Shortcut form | classGlobalOpts="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE" |
The classopts value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | False |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | False |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | False |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | False |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
For more information, see the description of the order subparameter in the class parameter (Shared Concepts).
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
For more information, see the description of the param subparameter in the class parameter (Shared Concepts).
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
names the numeric variable that contains the frequency of occurrence for each observation.
when set to True, requests an iteration history table for smoothing parameters or for regression parameters when fixed smoothing parameters are specified.
| Default | False |
|---|
specifies the maximum name length for new columns in any output data table that is created on the CAS server.
| Alias | maxNameLength |
|---|
| Default | 32 |
|---|---|
| MAX | sets the maximum name length to the maximum integer. |
| MIN | sets the maximum name length to 20. |
| SASV9 | sets the maximum name length to 32 (which is the maximum valid name length in SAS version 9). |
names the dependent variable, parametric effects, spline effects, and model options.
The gamplmodel value can be one or more of the following:
when set to True, constructs a spline by including all observations that do not have a missing value for any variable that is specified in that spline.
| Default | False |
|---|
adjusts the model fitting criterion for optimization.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
The responsevar value can be one or more of the following:
names the response variable.
specifies a list of parameters for the response variable.
The modelopts value can be one or more of the following:
when set to True, reverses the sort order of the response categories. When the descending parameter is set to True and a value is specified for the order parameter, the action orders the response categories according to the requested order and then reverses that order.
| Default | False |
|---|
specifies the event category for the binary response model. FIRST and LAST refer to the first and last ordered value of the response, respectively.
specifies the sort order for the levels of the response variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the reference level that is used for the response variable. Valid parameter values are a quoted string that specifies a valid level for the response variable or FIRST or LAST. FIRST and LAST refer to the first and last ordered value of the variable, respectively.
specifies the response distribution for the model.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, uses the finite difference Hessian for optimization.
| Default | False |
|---|
specifies the initial dispersion parameter.
| Minimum value | 0 |
|---|
specifies the link function for the model.
specifies the maximum dispersion parameter.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum dispersion parameter.
| Minimum value | 0 |
|---|
when set to True, requests normalized spline basis functions for model fitting.
| Default | False |
|---|
specifies a numeric offset variable. This variable cannot be a classification variable, a response variable, or one of the explanatory variables.
specifies the fixed dispersion parameter.
| Alias | dispersion |
|---|---|
| Minimum value | 0 |
specifies the ridge parameter.
| Default | 0 |
|---|---|
| Range | 0–1 |
names the spline effects to use in the generalized additive models.
The splineTerm value can be one or more of the following:
when set to True, displays knot values for a spline term.
| Default | False |
|---|
when set to True, displays the penalty matrix for a spline term.
| Default | False |
|---|
when set to True, displays detailed spline construction parameters.
| Default | False |
|---|
specifies the fixed degrees of freedom for a spline term.
| Minimum value | 0 |
|---|
specifies the initial smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies a list of knot values to use for a spline term.
specifies the order of the derivative in the smoothness penalty for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum degrees of freedom for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum number of knots for a spline term.
| Default | 2000 |
|---|---|
| Minimum value | 1 |
specifies the maximum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the minimum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the fixed smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the variables to use in a spline term.
specifies a positive numeric variable that is the number of trials. When you specify a trial variable, the response variable is called the events variable and it must contain the number of positive responses (or events).
specifies the initial power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
specifies a constant to be added to the response for evaluating the quasi-likelihood for the Tweedie distribution.
| Minimum value | 0 |
|---|
specifies the fixed power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, suppresses all output.
| Default | False |
|---|
creates a table on the server that contains observationwise statistics, which are computed after the model is fit.
The gamplOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of all confidence bands.
| Range | (0, 1) |
|---|
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
when set to True, requests componentwise statistics such as standard errors and confidence bands for each individual spline term.
| Default | False |
|---|
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
names the predicted response level. The default name is Into.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|---|
| Range | (0, 1) |
names the lower Bayesian confidence band for the predicted value. The default name is Lower.
| Aliases | lclm |
|---|---|
| lowerMean |
names the Pearson chi-square residual. The default name is Pearson.
| Aliases | resChi |
|---|---|
| pears |
names the predicted value. If you do not specify any output statistics, then the predicted value is named Pred by default.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
names the residual. The default name is Resid.
| Aliases | residual |
|---|---|
| r |
names the standard error of the linear predictor. The default name is Std.
names the upper Bayesian confidence band for the predicted value. The default name is Upper.
| Aliases | uclm |
|---|---|
| upperMean |
names the linear predictor. The default name is Xbeta.
| Alias | linp |
|---|
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies optimization parameters for maximum (penalized) likelihood estimation.
| Long form | plikeOpts={"technique":"CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | plikeOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the singularity criterion in Cholesky decomposition and matrix inversion operations.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies the singularity criterion in truncated eigendecomposition to determine its convergence.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies optimization parameters for smoothing parameter optimization.
| Long form | smoothOpts={"technique":"CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | smoothOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring.
For more information about specifying the store parameter, see the common casouttablebasic parameter (Appendix A: Common Parameters).
| Aliases | savemodel |
|---|---|
| save | |
| savestate |
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
names the numeric variable to use to perform a weighted analysis of the data.
Fits generalized additive models by penalized likelihood.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after the model is fit. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring. |
specifies the significance level to use for hypothesis testing of regression parameters and spline effects, and for the construction of all confidence bands.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | attribute |
|---|
names the classification variables to use as explanatory variables in the analysis.
The classStatement value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | FALSE |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | FALSE |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | FALSE |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | FALSE |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies the classification variables.
| Alias | name |
|---|
lists options that apply to all classification variables.
| Long form | classGlobalOpts=list(param="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE") |
|---|---|
| Shortcut form | classGlobalOpts="BTH" | "EFFECT" | "GLM" | "ORDINAL" | "ORTHBTH" | "ORTHEFFECT" | "ORTHORDINAL" | "ORTHPOLY" | "ORTHREF" | "POLYNOMIAL" | "REFERENCE" |
The classopts value can be one or more of the following:
when set to True, treats missing as a valid level for this variable.
| Default | FALSE |
|---|
when set to True, reverses the sort order that is imposed by the order parameter.
| Default | FALSE |
|---|
when set to True, ignores the fact that some variables in the observation have missing values and honors the nonmissing values for other variables in that observation.
| Default | FALSE |
|---|
when set to True, bases levelization for this variable on raw values.
| Default | FALSE |
|---|
specifies the maximum number of levels. A value of 0 means an unlimited number of levels.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the sort order for the levels of the classification variable. This ordering determines which parameters in the model correspond to each level in the data.
For more information, see the description of the order subparameter in the class parameter (Shared Concepts).
specifies the parameterization method for the classification variable or variables. The default is GLM when none of the variables specified in the vars parameter includes a param parameter; otherwise, the default is REFERENCE.
For more information, see the description of the param subparameter in the class parameter (Shared Concepts).
specifies the reference level to use when you specify a nonsingular parameterization in the param parameter. For an individual variable, you can specify the level of the variable to use as the reference level. If the action supports the global class options parameter, then you can specify FIRST or LAST.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
names the numeric variable that contains the frequency of occurrence for each observation.
when set to True, requests an iteration history table for smoothing parameters or for regression parameters when fixed smoothing parameters are specified.
| Default | FALSE |
|---|
specifies the maximum name length for new columns in any output data table that is created on the CAS server.
| Alias | maxNameLength |
|---|
| Default | 32 |
|---|---|
| MAX | sets the maximum name length to the maximum integer. |
| MIN | sets the maximum name length to 20. |
| SASV9 | sets the maximum name length to 32 (which is the maximum valid name length in SAS version 9). |
names the dependent variable, parametric effects, spline effects, and model options.
The gamplmodel value can be one or more of the following:
when set to True, constructs a spline by including all observations that do not have a missing value for any variable that is specified in that spline.
| Default | FALSE |
|---|
adjusts the model fitting criterion for optimization.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies one or more variables to use as response variables in the model. Not all models support more than one response variable.
| Aliases | depVar |
|---|---|
| target |
The responsevar value can be one or more of the following:
names the response variable.
specifies a list of parameters for the response variable.
The modelopts value can be one or more of the following:
when set to True, reverses the sort order of the response categories. When the descending parameter is set to True and a value is specified for the order parameter, the action orders the response categories according to the requested order and then reverses that order.
| Default | FALSE |
|---|
specifies the event category for the binary response model. FIRST and LAST refer to the first and last ordered value of the response, respectively.
specifies the sort order for the levels of the response variable. This ordering determines which parameters in the model correspond to each level in the data.
specifies the reference level that is used for the response variable. Valid parameter values are a quoted string that specifies a valid level for the response variable or FIRST or LAST. FIRST and LAST refer to the first and last ordered value of the variable, respectively.
specifies the response distribution for the model.
specifies a list of effects that define the model. Each term in this list is made up of variables specified in the vars parameter and their interaction (which can be NONE, CROSS, or BAR). When the interaction is BAR, it can be limited by the maxInteract parameter.
The effect value can be one or more of the following:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
eliminates interaction effects whose order is higher than the specified integer value when used in conjunction with the BAR interaction.
specifies the variables to be nested within the term that is defined by the vars parameter. For terms with a BAR or CROSS interaction, the nest corresponds to the last variable in the vars parameter. For terms with no interaction, the nest is distributed across all variables that are listed in the vars parameter.
specifies the variables to use in defining a term of the effect. You must specify at least one variable.
when set to True, uses the finite difference Hessian for optimization.
| Default | FALSE |
|---|
specifies the initial dispersion parameter.
| Minimum value | 0 |
|---|
specifies the link function for the model.
specifies the maximum dispersion parameter.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum dispersion parameter.
| Minimum value | 0 |
|---|
when set to True, requests normalized spline basis functions for model fitting.
| Default | FALSE |
|---|
specifies a numeric offset variable. This variable cannot be a classification variable, a response variable, or one of the explanatory variables.
specifies the fixed dispersion parameter.
| Alias | dispersion |
|---|---|
| Minimum value | 0 |
specifies the ridge parameter.
| Default | 0 |
|---|---|
| Range | 0–1 |
names the spline effects to use in the generalized additive models.
The splineTerm value can be one or more of the following:
when set to True, displays knot values for a spline term.
| Default | FALSE |
|---|
when set to True, displays the penalty matrix for a spline term.
| Default | FALSE |
|---|
when set to True, displays detailed spline construction parameters.
| Default | FALSE |
|---|
specifies the fixed degrees of freedom for a spline term.
| Minimum value | 0 |
|---|
specifies the initial smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies a list of knot values to use for a spline term.
specifies the order of the derivative in the smoothness penalty for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum degrees of freedom for a spline term.
| Minimum value | 1 |
|---|
specifies the maximum number of knots for a spline term.
| Default | 2000 |
|---|---|
| Minimum value | 1 |
specifies the maximum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the minimum smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the fixed smoothing parameter for a spline term.
| Minimum value | 0 |
|---|
specifies the variables to use in a spline term.
specifies a positive numeric variable that is the number of trials. When you specify a trial variable, the response variable is called the events variable and it must contain the number of positive responses (or events).
specifies the initial power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
specifies a constant to be added to the response for evaluating the quasi-likelihood for the Tweedie distribution.
| Minimum value | 0 |
|---|
specifies the fixed power parameter for the Tweedie distribution.
| Minimum value | 1 |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, suppresses all output.
| Default | FALSE |
|---|
creates a table on the server that contains observationwise statistics, which are computed after the model is fit.
The gamplOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of all confidence bands.
| Range | (0, 1) |
|---|
specifies the settings for an output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
when set to True, requests componentwise statistics such as standard errors and confidence bands for each individual spline term.
| Default | FALSE |
|---|
specifies a list of one or more variables to be copied from the input table to the output table. You can alternatively specify the value ALL, ALL_MODEL, or ALL_NUMERIC, which respectively copies all variables, all variables used in the modeling, or all numeric variables from the input table to the output table.
names the predicted response level. The default name is Into.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|---|
| Range | (0, 1) |
names the lower Bayesian confidence band for the predicted value. The default name is Lower.
| Aliases | lclm |
|---|---|
| lowerMean |
names the Pearson chi-square residual. The default name is Pearson.
| Aliases | resChi |
|---|---|
| pears |
names the predicted value. If you do not specify any output statistics, then the predicted value is named Pred by default.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
names the residual. The default name is Resid.
| Aliases | residual |
|---|---|
| r |
names the standard error of the linear predictor. The default name is Std.
names the upper Bayesian confidence band for the predicted value. The default name is Upper.
| Aliases | uclm |
|---|---|
| upperMean |
names the linear predictor. The default name is Xbeta.
| Alias | linp |
|---|
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies optimization parameters for maximum (penalized) likelihood estimation.
| Long form | plikeOpts=list(technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG") |
|---|---|
| Shortcut form | plikeOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the singularity criterion in Cholesky decomposition and matrix inversion operations.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies the singularity criterion in truncated eigendecomposition to determine its convergence.
| Default | 1E-12 |
|---|---|
| Range | 0–1 |
specifies optimization parameters for smoothing parameter optimization.
| Long form | smoothOpts=list(technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG") |
|---|---|
| Shortcut form | smoothOpts="CONGRA" | "DBLDOG" | "DUQUANEW" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimspecs value can be one or more of the following:
specifies the absolute function convergence criterion.
| Alias | abstol |
|---|
specifies the absolute function difference convergence criterion.
| Alias | absftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute function difference convergence criterion must be satisfied before the optimization ends.
| Alias | absftol_n |
|---|---|
| Minimum value | 0 |
specifies the absolute gradient convergence criterion.
| Alias | absgtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the absolute gradient convergence criterion must be satisfied before the optimization ends.
| Alias | absgtol_n |
|---|---|
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | ftol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative function difference convergence criterion must be satisfied before the optimization ends.
| Alias | ftol_n |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gtol |
|---|---|
| Minimum value | 0 |
specifies the number of successive iterations for which the relative gradient convergence criterion must be satisfied before the optimization ends.
| Alias | gtol_n |
|---|---|
| Minimum value | 0 |
specifies the maximum number of function evaluations.
| Alias | maxfu |
|---|---|
| Minimum value | 0 |
specifies the maximum number of iterations.
| Alias | maxit |
|---|---|
| Minimum value | 0 |
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Alias | minit |
|---|---|
| Minimum value | 0 |
creates a binary table object on the server that contains model fit information so that you can use it later for scoring.
For more information about specifying the store parameter, see the common casouttablebasic parameter (Appendix A: Common Parameters).
| Aliases | savemodel |
|---|---|
| save | |
| savestate |
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
names the numeric variable to use to perform a weighted analysis of the data.