Provides actions for fitting linear, generalized linear, and logistic models
Fits logistic regression models.
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 |
|---|---|---|
|
inParmEst |
specifies the technique and options for performing the optimization. |
|
|
— |
restores regression models from a binary large object (BLOB). |
|
|
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model |
|
|
casOut |
creates the classification table. |
|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
stores regression models to a binary large object (BLOB). |
specifies the significance level to use for the construction of all confidence intervals.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
when set to True, uses the available groupBy and orderBy information to group and order the data.
| Default | FALSE |
|---|
when sent to True, creates the association table.
| Default | FALSE |
|---|
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 |
|---|
specifies the precision of the predicted probabilities that are used for classification.
| Default | 1E-05 |
|---|---|
| Range | 0–1 |
names the classification variables to be used as explanatory variables in the analysis.
For more information about class subparameters, see class Parameter (Shared Concepts).
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
lists options that apply to all classification variables.
For more information about specifying the classGlobalOpts parameter, see the common classopts parameter (Appendix A: Common Parameters).
when set to False, suppresses the display of class levels.
| Default | TRUE |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
writes SAS DATA step code for computing predicted values of the fitted model
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
For more information, see Collection Effects (Shared Concepts).
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | FALSE |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
when set to True, displays the correlation matrix of the parameters.
| Default | FALSE |
|---|
when set to True, displays the covariance matrix of the parameters.
| Default | FALSE |
|---|
creates the classification table.
For more information, see Classification Table and ROC Curves .
The ctableOptions value can be one or more of the following:
includes and names the accuracy in the classification table.
when set to True, requests all available statistics.
| Default | FALSE |
|---|
specifies the settings for an output table.
The casouttable value can be one or more of the following:
specifies the list of variables to create indexes for in the output data.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
|---|
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, overwrites an existing table that has the same name.
| Default | FALSE |
|---|
specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure. Data redundancy applies to distributed servers only.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the number of bytes to use for blocks in the output table. The blocks are read by threads. Gradually increase this value when you have a large table with millions or billions of rows and you are tuning for performance. Larger values can increase performance with indexed tables. However, if the value is too large, then you can cause thread starvation due to too few blocks for threads to work on.
| Alias | blockSize |
|---|---|
| Default | 1048576 |
| Minimum value | 0 |
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
specifies to add a timestamp column to the table. Support for timeStamp is action-specific. Specify the value in the form that is appropriate for your session locale.
specifies one or more expressions for subsetting the output data. When multiple expressions are specified, the expressions are effectively combined using AND to form the final output filter. If an expression contains quoted values, use nested quotation marks.
specifies cutpoints for the classification table.
includes and names the false negative fraction in the classification table.
includes and names the false positive fraction (1-specificity) in the classification table.
includes and names the lift in the classification table.
includes and names the misclassification rate in the classification table.
when set to True, removes counts from the classification table.
| Default | FALSE |
|---|
includes and names the negative predictive value in the classification table.
includes and names the percent correct in the classification table.
includes and names the positive predictive value (precision) in the classification table.
includes and names the true negative fraction (specificity) in the classification table.
includes and names the true positive fraction (recall, sensitivity) in the classification table.
specifies a list of results tables to send to the client for display.
For more information about display subparameters, see display Parameter (Shared Concepts).
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, specifies that the data to be scored were also used to fit the model.
| Default | FALSE |
|---|
names the numeric variable that contains the frequency of occurrence of each observation.
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
creates the Hosmer and Lemeshow tables.
For more information, see The Hosmer-Lemeshow Goodness-of-Fit Test .
The lackfitOptions value can be one or more of the following:
specifies cutpoints for the Hosmer and Lemeshow partitions.
specifies the degrees of freedom to use for the Hosmer and Lemeshow test.
| Minimum value | 0 |
|---|
specifies the reduction in degrees of freedom for the Hosmer and Lemeshow test.
| Default | 2 |
|---|---|
| Minimum value | 0 |
specifies the maximum number of groups to create for the Hosmer and Lemeshow test.
| Default | 10 |
|---|---|
| Minimum value | 5 |
specifies the noncentrality parameter for the Hosmer and Lemeshow test.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, adjusts the number of groups so that the Hosmer and Lemeshow test can maintain power.
| Default | FALSE |
|---|
specifies the effects and subparameters for least squares means.
For more information, see lsmeans Parameter (Shared Concepts).
The lsmeansList value can be one or more of the following:
determines the adjustment method for multiple comparisons of LS-Means differences.
For more information about the methods and the method-specific-parameters, see the description of the adjust subparameter in the lsmeans parameter (Shared Concepts).
The airMCAdjustTUKEY value is specified as follows:
The airMCAdjustBON value is specified as follows:
The airMCAdjustSIDAK value is specified as follows:
The airMCAdjustSMM value is specified as follows:
The airMCAdjustSCHEFFE value is specified as follows:
The airMCAdjustSIMULATE value can be one or more of the following:
specifies the target accuracy radius confidence interval in ADJUST=SIMULATE.
| Default | 0.005 |
|---|---|
| Range | 0–1 |
specifies CV option in ADJUST=SIMULATE.
| Default | FALSE |
|---|
specifies the value for confidence interval in ADJUST=SIMULATE.
| Alias | EPS |
|---|---|
| Default | 0.01 |
| Range | 0–1 |
specifies the sample size in ADJUST=SIMULATE.
| Alias | nSamp |
|---|---|
| Default | 12604 |
| Minimum value | 0 |
specifies REPORT option in ADJUST=SIMULATE.
| Default | FALSE |
|---|
specifies the seed for random number generation in ADJUST=SIMULATE.
The airMCAdjustDUNNETT value is specified as follows:
The airMCAdjustNELSON value is specified as follows:
The airMCAdjustT value is specified as follows:
The airMCAdjustNONE value is specified as follows:
displays a t-type confidence interval for each of the least squares means with this confidence level.
| Default | 0.05 |
|---|---|
| Range | 0–1 |
modifies covariate values in computing LS-Means. By default, all covariate effects are set equal to their mean values for computation of LS-Means.
For more information, see the description of the at subparameter in the lsmeans parameter (Shared Concepts).
The lsmeansOptionAt value can be one or more of the following:
sets values of covariates.
sets names of covariates.
when set to True, constructs t-type confidence limits for each of the least squares means.
| Default | FALSE |
|---|
displays the differences with a control level of the specified least squares means effects.
when set to True, displays the estimated correlation matrix of the least squares means.
| Default | FALSE |
|---|
when set to True, displays the estimated covariance matrix of the least squares means.
| Default | FALSE |
|---|
displays differences of the least squares means.
For more information, see the description of the diff subparameter in the lsmeans parameter (Shared Concepts).
| Alias | pdiff |
|---|---|
| Default | ALL |
displays the differences between each least squares mean and the average of the least squares means.
displays the differences with the first level for each of the specified least squares means effects as a control level.
displays one-tailed results and tests whether the noncontrol levels are significantly smaller than the control level.
when set to True, displays the matrix coefficients for all effects.
| Default | FALSE |
|---|
tunes the estimability checking.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies effects in the model for the estimates of the least squares means.
For more information, see the description of the terms subparameter in the lsmeans parameter (Shared Concepts).
The effect value is specified as follows:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
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.
controls the number of observations processed in one batch.
For more information, see the description of the pageObs parameter in Memory Usage .
| Alias | pageObs |
|---|
specifies the maximum number of levels allowed for a multinomial response.
| Default | 100 |
|---|---|
| Minimum value | 2 |
names the dependent variable, explanatory effects, and model options.
For information about model specification, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
The logisticModel value can be one or more of the following:
when set to TRUE, centers and scales continuous covariates.
| Default | FALSE |
|---|
when set to TRUE, centers and scales covariates, including categorical covariates, for the LASSO method.
| Default | TRUE |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
| Default | FALSE |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
For more information, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
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.
specifies the entry variable.
specifies effects to include at the start of the selection process for the specified selection method. Included effects are never dropped during the selection process. If you specify n, where n is a positive integer, then the included effects consist of the first n effects of the model specification.
The effect value is specified as follows:
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, models missing values by using extra model effects. These effects consist of dummy variables that take the value 1 when the value of a continuous model variable involved in the effect is missing, and take the value 0 otherwise. The missing value in the original model effect is replaced by the average value of the effect for the nonmissing values. For classification variables, missing values are treated as valid levels.
For more information, see Informative Missingness (Shared Concepts).
| Default | FALSE |
|---|
specifies the base regularization parameter for the LASSO method.
| Default | 0.8 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of steps for the LASSO method.
| Default | 20 |
|---|
specifies the convergence criterion for the LASSO method.
| Default | 1E-06 |
|---|
specifies the link function for the model.
For more information, see the LINK= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, does not include the intercept term in the model.
| 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 priors for each response level, which is used for computing the posterior predicted value.
For more information, see the PRIOR= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | FALSE |
|---|
specifies effects to use to begin the selection process in the FORWARD, FORWARDSWAP, and STEPWISE selection methods. If you specify n, where n is a positive integer, then the starting model consists of the first n effects of the model specification.
The effect value is specified as follows:
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.
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).
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information, see Multimember Effects (Shared Concepts).
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
when set to True, levelizes the input data table everytime it is read.
| Default | FALSE |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, does not check logistic models for separation.
For more information, see Existence of Maximum Likelihood Estimates .
| Default | FALSE |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, divides the log likelihood by the total number of observations during the optimization.
| Default | TRUE |
|---|
when set to True, the covariance matrix and any statistic that depends on it are not computed.
| Default | FALSE |
|---|
when set to True, does not compute X'WX and Hessian matrices, and disables all methods and suppresses all outputs that rely on them.
| Default | FALSE |
|---|
creates a table that compares subpopulations by using odds ratios.
The oddsratioOptions value can be one or more of the following:
specifies the significance level of the confidence limits.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the default fixed values or levels for covariates that interact with the odds ratio variable.
The orAtOpts value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
changes the default units of change for continuous odds ratio variables.
The orUnitOpts value can be one or more of the following:
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | FALSE |
|---|
specifies units of change for a continuous odds ratio variable.
specifies a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
| Aliases | oddsratios |
|---|---|
| oddsratio |
The orSpec value can be one or more of the following:
specifies fixed values or levels for covariates that interact with the odds ratio variable.
The orSpecAt value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | FALSE |
|---|
specifies units of change for a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
specifies the technique and options for performing the optimization.
For more information, see the description of the parameters in Optimization Parameters (Shared Concepts).
| Long form | optimization={technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | optimization="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimizationStatement 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 absolute gradient convergence criterion.
| Alias | absGTol |
|---|---|
| Minimum value | 0 |
specifies the absolute parameter convergence criterion.
| Alias | absXTol |
|---|---|
| Minimum value | 0 |
specifies the number of corrections used in the LBFGS update.
| Alias | correction |
|---|---|
| Default | 20 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the second relative function difference convergence criterion.
| Alias | fTol2 |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the second relative gradient convergence criterion.
| Alias | gTol2 |
|---|---|
| Minimum value | 0 |
specifies the input initial parameter estimates data table that contains starting values for the optimization.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the maximum number of function evaluations.
| Minimum value | 0 |
|---|
specifies the maximum number of iterations.
| Minimum value | 0 |
|---|
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Minimum value | 0 |
|---|
specifies the singularity criterion for the residual variance.
| Range | 0–1 |
|---|
specifies the optimization technique.
For more information, see Choosing an Optimization Algorithm (Shared Concepts).
| Alias | tech |
|---|---|
| Default | NRRIDG |
uses the Newton-Raphson method with line search and ridging, which requires first- and second-order derivatives.
specifies the relative parameter convergence criterion.
| Alias | xTol |
|---|---|
| Minimum value | 0 |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model.
For more information about the available statistics, see Predicted Probabilities and Regression Diagnostics .
For more information, see OUTPUT Statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
The logisticOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of confidence intervals. By default, this is set to the global significance level.
| 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).
names the confidence interval displacement, which measures the overall change in the global regression estimates that can be attributed to deleting the individual observation.
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 change in the Pearson chi-square statistic that can be attributed to deleting the individual observation.
names the change in the deviance that can be attributed to deleting the individual observation.
names the leverage of the observation.
| Alias | hatDiag |
|---|
names the predicted response level.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|
names the individual predicted value for a cumulative link. If you do not specify any output statistics, then by default the predicted value is named _IPRED_.
| Aliases | ip |
|---|---|
| individual |
names the lower bound of a confidence interval for the linear predictor.
| Aliases | lowerXBeta |
|---|---|
| lowerLinP |
names the lower bound of a confidence interval for the mean.
| Aliases | lower |
|---|---|
| lowerMean |
names the ordered response level.
when set to True, computes multinomial output statistics at the observed response level.
| Default | FALSE |
|---|
names the posterior predicted value.
names the predicted value. If you do not specify any output statistics, then by default the predicted value is named _PRED_.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
when set to True, displays requested multinomial predicted probabilities as separate variables.
| Default | FALSE |
|---|
names the Pearson chi-square residual.
| Aliases | pearson |
|---|---|
| pears |
names the deviance residual.
| Alias | devResid |
|---|
names the likelihood residual (likelihood displacement).
| Aliases | likeDist |
|---|---|
| ld | |
| resLike |
names the raw residual.
| Aliases | r |
|---|---|
| resid | |
| residual | |
| rawResid |
names the working residual.
identifies the training, validation, and test roles for the observations.
names the standardized Pearson chi-square residual.
| Aliases | adjPearson |
|---|---|
| adjPears |
names the standardized deviance residual.
| Alias | stdDevResid |
|---|
names the standard error of the linear predictor.
| Alias | stdP |
|---|
names the upper bound of a confidence interval for the linear predictor.
| Aliases | upperXBeta |
|---|---|
| upperLinP |
names the upper bound of a confidence interval for the mean.
| Aliases | upper |
|---|---|
| upperMean |
names the linear predictor.
| 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 whether to add raw and formatted values of classification variables in the ParameterEstimates table.
| Default | RAW |
|---|
specifies the fractions of the data to be used for validation and testing.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
randomly assigns the specified proportion of observations in the input table to the validation role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Alias | valid |
|---|---|
| Range | 0–1 |
names the variable and its values used to partition the data into training, validation, and testing roles.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
| Long form | partByVar={name="variable-name"} |
|---|---|
| Shortcut form | partByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies the formatted value of the variable that is used to assign observations to the validation role.
| Alias | valid |
|---|
when set to True, displays the fit statistics that are produced when your data are partitioned.
For more information, see Partition Fit Statistics .
| Default | FALSE |
|---|
specifies the convergence criterion for the profile likelihood computations.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies the maximum number of iterations for the profile likelihood computations.
| Default | 25 |
|---|---|
| Minimum value | 0 |
specifies the tolerance for testing singularity for profile likelihood computations.
| Range | 0–1 |
|---|
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information, see Polynomial Effects (Shared Concepts).
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
specifies the options for repeated measures analysis.
The logisticModelRepeated value can be one or more of the following:
specifies the convergence criterion for repeated measures analysis.
| Default | 0.0001 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based and empirical correlation matrices of the parameters.
| Default | FALSE |
|---|
specifies the type of correlation structure.
| Alias | covtype |
|---|---|
| Default | IN |
when set to True, displays the estimated working correlation matrix.
| Default | FALSE |
|---|
when set to True, displays the estimated model-based and empirical covariance matrices of the parameters.
| Default | FALSE |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
when set to True, displays the estimated empirical correlation matrix of the parameters.
| Default | FALSE |
|---|
when set to True, displays the estimated empirical covariance matrix of the parameters.
| Default | FALSE |
|---|
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.
defines an effect that specifies heterogeneity in the covariance structure of G for mixed models. All observations that have the same level of the group effect have the same covariance parameters. Each new level of the group effect produces a new set of covariance parameters that has the same structure as the original group.
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.
specifies the maximum number of iterations for repeated measures analysis.
| Default | 50 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based correlation matrix of the parameters.
| Default | FALSE |
|---|
when set to True, displays the estimated model-based covariance matrix of the parameters.
| Default | FALSE |
|---|
specifies the order of the m-dependent correlation structure.
| Default | 1 |
|---|---|
| Minimum value | 1 |
produces a parameter estimates table that displays and uses the model-based standard errors.
| Default | FALSE |
|---|
produces the parameter estimates table from the initial stage of estimation.
| Default | FALSE |
|---|
identifies the subjects in a mixed model.
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.
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).
restores regression models from a binary large object (BLOB).
| Long form | restore={name="table-name"} |
|---|---|
| Shortcut form | restore="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the method and options for performing model selection.
For more information, see selection Parameter (Shared Concepts).
| Long form | selection={method="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE"} |
|---|---|
| Shortcut form | selection="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE" |
The selectionStatement value can be one or more of the following:
specifies the maximum number of candidates to display at each step of the selection process, when the detail level ALL is specified.
specifies the criterion for choosing the model. The specified criterion is evaluated at each step of the selection process, and the model that yields the best value of the criterion is chosen.
For more information, see the discussion of the choose subparameter (Shared Concepts).
specifies the level of detail to produce about the selection process.
For more information, see the description of the details subparameter (Shared Concepts).
| Default | SUMMARY |
|---|
specifies options to use in performing elastic net selection methods.
The enOptions value can be one or more of the following:
specifies the absolute function difference convergence criterion.
| Alias | abstol |
|---|---|
| Default | 1E-08 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the regularization parameters in the elastic net selection method.
specifies the elastic net mixing parameter.
specifies the number of regularization parameters in the elastic net selection method.
| Alias | nLambda |
|---|---|
| Default | 0 |
| Minimum value | 0 |
specifies the scaling factor to use in computing minimum regularization parameter.
| Range | (0, 1) |
|---|
specifies a solver for elastic net selection.
implements the computational algorithm of Lawless and Singhal (1978) to compute a first-order approximation to the remaining slope estimates for each subsequent elimination of a variable from the model during backward selection for generalized linear models.
| Default | FALSE |
|---|
specifies whether and how to apply the model hierarchy requirement. Model hierarchy refers to the requirement that, for any term to be in the model, all model effects that are contained in the term must be present in the model.
For more information, see the description of the hierarchy subparameter (Shared Concepts).
| Default | DEFAULT |
|---|
specifies the coefficients in the relaxed LASSO method.
specifies the maximum number of effects in any model to consider during the selection process. This parameter is ignored for backward selection.
specifies the maximum number of selection steps to perform.
specifies the model selection method.
For more information, see Model Selection Methods (Shared Concepts).
| Default | STEPWISE |
|---|
specifies the minimum number of effects in any model to consider during backward selection.
when set to True, shows effects in parameter estimates tables in the order in which they were added to the model.
| Default | FALSE |
|---|
when set to True, produces coefficientProgression and selectionSummaryForPlots tables that you can use to produce selection diagnostic plots.
For more information about the plots you can create, see Model Selection Plots (Shared Concepts in SAS Visual Statistics: Procedures).
| Default | FALSE |
|---|
when set to True, applies the relaxed LASSO method.
| Default | FALSE |
|---|
specifies the criterion to use in determining the order in which effects enter or leave at each step of the selection method. This parameter does not apply to LAR or LASSO selection.
For more information, see the discussion of the select subparameter (Shared Concepts).
specifies the significance level for entry when the significance level is used as the select or stop criterion.
| Alias | sle |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies the significance level for removal when the significance level is used as the select or stop criterion.
| Alias | sls |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies a criterion that to use for stopping the selection process. If you do not specify a stop criterion, then the criterion that is used to select the model is also used as the stop criterion.
For more information, see the discussion of the stop subparameter (Shared Concepts).
specifies the number of consecutive steps at which the stop criterion must worsen in order for a local extremum to be detected.
For more information, see the description of the stopHorizon subparameter (Shared Concepts).
| Default | 3 |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information, see Spline Effects (Shared Concepts).
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | FALSE |
|---|
when set to True, produces standardized regression coefficients. A standardized regression coefficient is computed by dividing a parameter estimate by the ratio of the sample standard deviation of the dependent variable to the sample standard deviation of the regressor.
| Default | FALSE |
|---|
stores regression models to a binary large object (BLOB).
| Alias | savestate |
|---|
| Long form | store={name="table-name"} |
|---|---|
| Shortcut form | store="table-name" |
The casouttable value can be one or more of the following:
specifies the name of the caslib for the output table.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | FALSE |
|---|
when set to True, overwrites an existing table that has the same name.
| Default | FALSE |
|---|
specifies text to store that gets displayed when you restore the model.
| Alias | storenote |
|---|
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when equal to 1, displays all tables even if there is an optimization error.
| Default | FALSE |
|---|
names the numeric variable to use to perform a weighted analysis of the data.
adjusts the weights so the total weight equals the total frequency.
| Default | FALSE |
|---|
Fits logistic regression models.
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 |
|---|---|---|
|
inParmEst |
specifies the technique and options for performing the optimization. |
|
|
— |
restores regression models from a binary large object (BLOB). |
|
|
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model |
|
|
casOut |
creates the classification table. |
|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
stores regression models to a binary large object (BLOB). |
specifies the significance level to use for the construction of all confidence intervals.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
when set to True, uses the available groupBy and orderBy information to group and order the data.
| Default | false |
|---|
when sent to True, creates the association table.
| Default | false |
|---|
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 |
|---|
specifies the precision of the predicted probabilities that are used for classification.
| Default | 1E-05 |
|---|---|
| Range | 0–1 |
names the classification variables to be used as explanatory variables in the analysis.
For more information about class subparameters, see class Parameter (Shared Concepts).
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
lists options that apply to all classification variables.
For more information about specifying the classGlobalOpts parameter, see the common classopts parameter (Appendix A: Common Parameters).
when set to False, suppresses the display of class levels.
| Default | true |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
writes SAS DATA step code for computing predicted values of the fitted model
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
For more information, see Collection Effects (Shared Concepts).
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | false |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
when set to True, displays the correlation matrix of the parameters.
| Default | false |
|---|
when set to True, displays the covariance matrix of the parameters.
| Default | false |
|---|
creates the classification table.
For more information, see Classification Table and ROC Curves .
The ctableOptions value can be one or more of the following:
includes and names the accuracy in the classification table.
when set to True, requests all available statistics.
| Default | false |
|---|
specifies the settings for an output table.
The casouttable value can be one or more of the following:
specifies the list of variables to create indexes for in the output data.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
|---|
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, overwrites an existing table that has the same name.
| Default | false |
|---|
specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure. Data redundancy applies to distributed servers only.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the number of bytes to use for blocks in the output table. The blocks are read by threads. Gradually increase this value when you have a large table with millions or billions of rows and you are tuning for performance. Larger values can increase performance with indexed tables. However, if the value is too large, then you can cause thread starvation due to too few blocks for threads to work on.
| Alias | blockSize |
|---|---|
| Default | 1048576 |
| Minimum value | 0 |
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
specifies to add a timestamp column to the table. Support for timeStamp is action-specific. Specify the value in the form that is appropriate for your session locale.
specifies one or more expressions for subsetting the output data. When multiple expressions are specified, the expressions are effectively combined using AND to form the final output filter. If an expression contains quoted values, use nested quotation marks.
specifies cutpoints for the classification table.
includes and names the false negative fraction in the classification table.
includes and names the false positive fraction (1-specificity) in the classification table.
includes and names the lift in the classification table.
includes and names the misclassification rate in the classification table.
when set to True, removes counts from the classification table.
| Default | false |
|---|
includes and names the negative predictive value in the classification table.
includes and names the percent correct in the classification table.
includes and names the positive predictive value (precision) in the classification table.
includes and names the true negative fraction (specificity) in the classification table.
includes and names the true positive fraction (recall, sensitivity) in the classification table.
specifies a list of results tables to send to the client for display.
For more information about display subparameters, see display Parameter (Shared Concepts).
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, specifies that the data to be scored were also used to fit the model.
| Default | false |
|---|
names the numeric variable that contains the frequency of occurrence of each observation.
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
creates the Hosmer and Lemeshow tables.
For more information, see The Hosmer-Lemeshow Goodness-of-Fit Test .
The lackfitOptions value can be one or more of the following:
specifies cutpoints for the Hosmer and Lemeshow partitions.
specifies the degrees of freedom to use for the Hosmer and Lemeshow test.
| Minimum value | 0 |
|---|
specifies the reduction in degrees of freedom for the Hosmer and Lemeshow test.
| Default | 2 |
|---|---|
| Minimum value | 0 |
specifies the maximum number of groups to create for the Hosmer and Lemeshow test.
| Default | 10 |
|---|---|
| Minimum value | 5 |
specifies the noncentrality parameter for the Hosmer and Lemeshow test.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, adjusts the number of groups so that the Hosmer and Lemeshow test can maintain power.
| Default | false |
|---|
specifies the effects and subparameters for least squares means.
For more information, see lsmeans Parameter (Shared Concepts).
The lsmeansList value can be one or more of the following:
determines the adjustment method for multiple comparisons of LS-Means differences.
For more information about the methods and the method-specific-parameters, see the description of the adjust subparameter in the lsmeans parameter (Shared Concepts).
The airMCAdjustTUKEY value is specified as follows:
The airMCAdjustBON value is specified as follows:
The airMCAdjustSIDAK value is specified as follows:
The airMCAdjustSMM value is specified as follows:
The airMCAdjustSCHEFFE value is specified as follows:
The airMCAdjustSIMULATE value can be one or more of the following:
specifies the target accuracy radius confidence interval in ADJUST=SIMULATE.
| Default | 0.005 |
|---|---|
| Range | 0–1 |
specifies CV option in ADJUST=SIMULATE.
| Default | false |
|---|
specifies the value for confidence interval in ADJUST=SIMULATE.
| Alias | EPS |
|---|---|
| Default | 0.01 |
| Range | 0–1 |
specifies the sample size in ADJUST=SIMULATE.
| Alias | nSamp |
|---|---|
| Default | 12604 |
| Minimum value | 0 |
specifies REPORT option in ADJUST=SIMULATE.
| Default | false |
|---|
specifies the seed for random number generation in ADJUST=SIMULATE.
The airMCAdjustDUNNETT value is specified as follows:
The airMCAdjustNELSON value is specified as follows:
The airMCAdjustT value is specified as follows:
The airMCAdjustNONE value is specified as follows:
displays a t-type confidence interval for each of the least squares means with this confidence level.
| Default | 0.05 |
|---|---|
| Range | 0–1 |
modifies covariate values in computing LS-Means. By default, all covariate effects are set equal to their mean values for computation of LS-Means.
For more information, see the description of the at subparameter in the lsmeans parameter (Shared Concepts).
The lsmeansOptionAt value can be one or more of the following:
sets values of covariates.
sets names of covariates.
when set to True, constructs t-type confidence limits for each of the least squares means.
| Default | false |
|---|
displays the differences with a control level of the specified least squares means effects.
when set to True, displays the estimated correlation matrix of the least squares means.
| Default | false |
|---|
when set to True, displays the estimated covariance matrix of the least squares means.
| Default | false |
|---|
displays differences of the least squares means.
For more information, see the description of the diff subparameter in the lsmeans parameter (Shared Concepts).
| Alias | pdiff |
|---|---|
| Default | ALL |
displays the differences between each least squares mean and the average of the least squares means.
displays the differences with the first level for each of the specified least squares means effects as a control level.
displays one-tailed results and tests whether the noncontrol levels are significantly smaller than the control level.
when set to True, displays the matrix coefficients for all effects.
| Default | false |
|---|
tunes the estimability checking.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies effects in the model for the estimates of the least squares means.
For more information, see the description of the terms subparameter in the lsmeans parameter (Shared Concepts).
The effect value is specified as follows:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
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.
controls the number of observations processed in one batch.
For more information, see the description of the pageObs parameter in Memory Usage .
| Alias | pageObs |
|---|
specifies the maximum number of levels allowed for a multinomial response.
| Default | 100 |
|---|---|
| Minimum value | 2 |
names the dependent variable, explanatory effects, and model options.
For information about model specification, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
The logisticModel value can be one or more of the following:
when set to TRUE, centers and scales continuous covariates.
| Default | false |
|---|
when set to TRUE, centers and scales covariates, including categorical covariates, for the LASSO method.
| Default | true |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
| Default | false |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
For more information, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
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.
specifies the entry variable.
specifies effects to include at the start of the selection process for the specified selection method. Included effects are never dropped during the selection process. If you specify n, where n is a positive integer, then the included effects consist of the first n effects of the model specification.
The effect value is specified as follows:
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, models missing values by using extra model effects. These effects consist of dummy variables that take the value 1 when the value of a continuous model variable involved in the effect is missing, and take the value 0 otherwise. The missing value in the original model effect is replaced by the average value of the effect for the nonmissing values. For classification variables, missing values are treated as valid levels.
For more information, see Informative Missingness (Shared Concepts).
| Default | false |
|---|
specifies the base regularization parameter for the LASSO method.
| Default | 0.8 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of steps for the LASSO method.
| Default | 20 |
|---|
specifies the convergence criterion for the LASSO method.
| Default | 1E-06 |
|---|
specifies the link function for the model.
For more information, see the LINK= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, does not include the intercept term in the model.
| 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 priors for each response level, which is used for computing the posterior predicted value.
For more information, see the PRIOR= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | false |
|---|
specifies effects to use to begin the selection process in the FORWARD, FORWARDSWAP, and STEPWISE selection methods. If you specify n, where n is a positive integer, then the starting model consists of the first n effects of the model specification.
The effect value is specified as follows:
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.
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).
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information, see Multimember Effects (Shared Concepts).
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
when set to True, levelizes the input data table everytime it is read.
| Default | false |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, does not check logistic models for separation.
For more information, see Existence of Maximum Likelihood Estimates .
| Default | false |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, divides the log likelihood by the total number of observations during the optimization.
| Default | true |
|---|
when set to True, the covariance matrix and any statistic that depends on it are not computed.
| Default | false |
|---|
when set to True, does not compute X'WX and Hessian matrices, and disables all methods and suppresses all outputs that rely on them.
| Default | false |
|---|
creates a table that compares subpopulations by using odds ratios.
The oddsratioOptions value can be one or more of the following:
specifies the significance level of the confidence limits.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the default fixed values or levels for covariates that interact with the odds ratio variable.
The orAtOpts value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
changes the default units of change for continuous odds ratio variables.
The orUnitOpts value can be one or more of the following:
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | false |
|---|
specifies units of change for a continuous odds ratio variable.
specifies a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
| Aliases | oddsratios |
|---|---|
| oddsratio |
The orSpec value can be one or more of the following:
specifies fixed values or levels for covariates that interact with the odds ratio variable.
The orSpecAt value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | false |
|---|
specifies units of change for a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
specifies the technique and options for performing the optimization.
For more information, see the description of the parameters in Optimization Parameters (Shared Concepts).
| Long form | optimization={technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | optimization="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimizationStatement 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 absolute gradient convergence criterion.
| Alias | absGTol |
|---|---|
| Minimum value | 0 |
specifies the absolute parameter convergence criterion.
| Alias | absXTol |
|---|---|
| Minimum value | 0 |
specifies the number of corrections used in the LBFGS update.
| Alias | correction |
|---|---|
| Default | 20 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the second relative function difference convergence criterion.
| Alias | fTol2 |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the second relative gradient convergence criterion.
| Alias | gTol2 |
|---|---|
| Minimum value | 0 |
specifies the input initial parameter estimates data table that contains starting values for the optimization.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | false |
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the maximum number of function evaluations.
| Minimum value | 0 |
|---|
specifies the maximum number of iterations.
| Minimum value | 0 |
|---|
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Minimum value | 0 |
|---|
specifies the singularity criterion for the residual variance.
| Range | 0–1 |
|---|
specifies the optimization technique.
For more information, see Choosing an Optimization Algorithm (Shared Concepts).
| Alias | tech |
|---|---|
| Default | NRRIDG |
uses the Newton-Raphson method with line search and ridging, which requires first- and second-order derivatives.
specifies the relative parameter convergence criterion.
| Alias | xTol |
|---|---|
| Minimum value | 0 |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model.
For more information about the available statistics, see Predicted Probabilities and Regression Diagnostics .
For more information, see OUTPUT Statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
The logisticOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of confidence intervals. By default, this is set to the global significance level.
| 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).
names the confidence interval displacement, which measures the overall change in the global regression estimates that can be attributed to deleting the individual observation.
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 change in the Pearson chi-square statistic that can be attributed to deleting the individual observation.
names the change in the deviance that can be attributed to deleting the individual observation.
names the leverage of the observation.
| Alias | hatDiag |
|---|
names the predicted response level.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|
names the individual predicted value for a cumulative link. If you do not specify any output statistics, then by default the predicted value is named _IPRED_.
| Aliases | ip |
|---|---|
| individual |
names the lower bound of a confidence interval for the linear predictor.
| Aliases | lowerXBeta |
|---|---|
| lowerLinP |
names the lower bound of a confidence interval for the mean.
| Aliases | lower |
|---|---|
| lowerMean |
names the ordered response level.
when set to True, computes multinomial output statistics at the observed response level.
| Default | false |
|---|
names the posterior predicted value.
names the predicted value. If you do not specify any output statistics, then by default the predicted value is named _PRED_.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
when set to True, displays requested multinomial predicted probabilities as separate variables.
| Default | false |
|---|
names the Pearson chi-square residual.
| Aliases | pearson |
|---|---|
| pears |
names the deviance residual.
| Alias | devResid |
|---|
names the likelihood residual (likelihood displacement).
| Aliases | likeDist |
|---|---|
| ld | |
| resLike |
names the raw residual.
| Aliases | r |
|---|---|
| resid | |
| residual | |
| rawResid |
names the working residual.
identifies the training, validation, and test roles for the observations.
names the standardized Pearson chi-square residual.
| Aliases | adjPearson |
|---|---|
| adjPears |
names the standardized deviance residual.
| Alias | stdDevResid |
|---|
names the standard error of the linear predictor.
| Alias | stdP |
|---|
names the upper bound of a confidence interval for the linear predictor.
| Aliases | upperXBeta |
|---|---|
| upperLinP |
names the upper bound of a confidence interval for the mean.
| Aliases | upper |
|---|---|
| upperMean |
names the linear predictor.
| 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 whether to add raw and formatted values of classification variables in the ParameterEstimates table.
| Default | RAW |
|---|
specifies the fractions of the data to be used for validation and testing.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
randomly assigns the specified proportion of observations in the input table to the validation role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Alias | valid |
|---|---|
| Range | 0–1 |
names the variable and its values used to partition the data into training, validation, and testing roles.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
| Long form | partByVar={name="variable-name"} |
|---|---|
| Shortcut form | partByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies the formatted value of the variable that is used to assign observations to the validation role.
| Alias | valid |
|---|
when set to True, displays the fit statistics that are produced when your data are partitioned.
For more information, see Partition Fit Statistics .
| Default | false |
|---|
specifies the convergence criterion for the profile likelihood computations.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies the maximum number of iterations for the profile likelihood computations.
| Default | 25 |
|---|---|
| Minimum value | 0 |
specifies the tolerance for testing singularity for profile likelihood computations.
| Range | 0–1 |
|---|
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information, see Polynomial Effects (Shared Concepts).
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
specifies the options for repeated measures analysis.
The logisticModelRepeated value can be one or more of the following:
specifies the convergence criterion for repeated measures analysis.
| Default | 0.0001 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based and empirical correlation matrices of the parameters.
| Default | false |
|---|
specifies the type of correlation structure.
| Alias | covtype |
|---|---|
| Default | IN |
when set to True, displays the estimated working correlation matrix.
| Default | false |
|---|
when set to True, displays the estimated model-based and empirical covariance matrices of the parameters.
| Default | false |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
when set to True, displays the estimated empirical correlation matrix of the parameters.
| Default | false |
|---|
when set to True, displays the estimated empirical covariance matrix of the parameters.
| Default | false |
|---|
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.
defines an effect that specifies heterogeneity in the covariance structure of G for mixed models. All observations that have the same level of the group effect have the same covariance parameters. Each new level of the group effect produces a new set of covariance parameters that has the same structure as the original group.
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.
specifies the maximum number of iterations for repeated measures analysis.
| Default | 50 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based correlation matrix of the parameters.
| Default | false |
|---|
when set to True, displays the estimated model-based covariance matrix of the parameters.
| Default | false |
|---|
specifies the order of the m-dependent correlation structure.
| Default | 1 |
|---|---|
| Minimum value | 1 |
produces a parameter estimates table that displays and uses the model-based standard errors.
| Default | false |
|---|
produces the parameter estimates table from the initial stage of estimation.
| Default | false |
|---|
identifies the subjects in a mixed model.
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.
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).
restores regression models from a binary large object (BLOB).
| Long form | restore={name="table-name"} |
|---|---|
| Shortcut form | restore="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the method and options for performing model selection.
For more information, see selection Parameter (Shared Concepts).
| Long form | selection={method="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE"} |
|---|---|
| Shortcut form | selection="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE" |
The selectionStatement value can be one or more of the following:
specifies the maximum number of candidates to display at each step of the selection process, when the detail level ALL is specified.
specifies the criterion for choosing the model. The specified criterion is evaluated at each step of the selection process, and the model that yields the best value of the criterion is chosen.
For more information, see the discussion of the choose subparameter (Shared Concepts).
specifies the level of detail to produce about the selection process.
For more information, see the description of the details subparameter (Shared Concepts).
| Default | SUMMARY |
|---|
specifies options to use in performing elastic net selection methods.
The enOptions value can be one or more of the following:
specifies the absolute function difference convergence criterion.
| Alias | abstol |
|---|---|
| Default | 1E-08 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the regularization parameters in the elastic net selection method.
specifies the elastic net mixing parameter.
specifies the number of regularization parameters in the elastic net selection method.
| Alias | nLambda |
|---|---|
| Default | 0 |
| Minimum value | 0 |
specifies the scaling factor to use in computing minimum regularization parameter.
| Range | (0, 1) |
|---|
specifies a solver for elastic net selection.
implements the computational algorithm of Lawless and Singhal (1978) to compute a first-order approximation to the remaining slope estimates for each subsequent elimination of a variable from the model during backward selection for generalized linear models.
| Default | false |
|---|
specifies whether and how to apply the model hierarchy requirement. Model hierarchy refers to the requirement that, for any term to be in the model, all model effects that are contained in the term must be present in the model.
For more information, see the description of the hierarchy subparameter (Shared Concepts).
| Default | DEFAULT |
|---|
specifies the coefficients in the relaxed LASSO method.
specifies the maximum number of effects in any model to consider during the selection process. This parameter is ignored for backward selection.
specifies the maximum number of selection steps to perform.
specifies the model selection method.
For more information, see Model Selection Methods (Shared Concepts).
| Default | STEPWISE |
|---|
specifies the minimum number of effects in any model to consider during backward selection.
when set to True, shows effects in parameter estimates tables in the order in which they were added to the model.
| Default | false |
|---|
when set to True, produces coefficientProgression and selectionSummaryForPlots tables that you can use to produce selection diagnostic plots.
For more information about the plots you can create, see Model Selection Plots (Shared Concepts in SAS Visual Statistics: Procedures).
| Default | false |
|---|
when set to True, applies the relaxed LASSO method.
| Default | false |
|---|
specifies the criterion to use in determining the order in which effects enter or leave at each step of the selection method. This parameter does not apply to LAR or LASSO selection.
For more information, see the discussion of the select subparameter (Shared Concepts).
specifies the significance level for entry when the significance level is used as the select or stop criterion.
| Alias | sle |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies the significance level for removal when the significance level is used as the select or stop criterion.
| Alias | sls |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies a criterion that to use for stopping the selection process. If you do not specify a stop criterion, then the criterion that is used to select the model is also used as the stop criterion.
For more information, see the discussion of the stop subparameter (Shared Concepts).
specifies the number of consecutive steps at which the stop criterion must worsen in order for a local extremum to be detected.
For more information, see the description of the stopHorizon subparameter (Shared Concepts).
| Default | 3 |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information, see Spline Effects (Shared Concepts).
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | false |
|---|
when set to True, produces standardized regression coefficients. A standardized regression coefficient is computed by dividing a parameter estimate by the ratio of the sample standard deviation of the dependent variable to the sample standard deviation of the regressor.
| Default | false |
|---|
stores regression models to a binary large object (BLOB).
| Alias | savestate |
|---|
| Long form | store={name="table-name"} |
|---|---|
| Shortcut form | store="table-name" |
The casouttable value can be one or more of the following:
specifies the name of the caslib for the output table.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | false |
|---|
when set to True, overwrites an existing table that has the same name.
| Default | false |
|---|
specifies text to store that gets displayed when you restore the model.
| Alias | storenote |
|---|
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when equal to 1, displays all tables even if there is an optimization error.
| Default | false |
|---|
names the numeric variable to use to perform a weighted analysis of the data.
adjusts the weights so the total weight equals the total frequency.
| Default | false |
|---|
Fits logistic regression models.
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 |
|---|---|---|
|
inParmEst |
specifies the technique and options for performing the optimization. |
|
|
— |
restores regression models from a binary large object (BLOB). |
|
|
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model |
|
|
casOut |
creates the classification table. |
|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
stores regression models to a binary large object (BLOB). |
specifies the significance level to use for the construction of all confidence intervals.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
when set to True, uses the available groupBy and orderBy information to group and order the data.
| Default | False |
|---|
when sent to True, creates the association table.
| Default | False |
|---|
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 |
|---|
specifies the precision of the predicted probabilities that are used for classification.
| Default | 1E-05 |
|---|---|
| Range | 0–1 |
names the classification variables to be used as explanatory variables in the analysis.
For more information about class subparameters, see class Parameter (Shared Concepts).
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
lists options that apply to all classification variables.
For more information about specifying the classGlobalOpts parameter, see the common classopts parameter (Appendix A: Common Parameters).
when set to False, suppresses the display of class levels.
| Default | True |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
writes SAS DATA step code for computing predicted values of the fitted model
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
For more information, see Collection Effects (Shared Concepts).
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | False |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
when set to True, displays the correlation matrix of the parameters.
| Default | False |
|---|
when set to True, displays the covariance matrix of the parameters.
| Default | False |
|---|
creates the classification table.
For more information, see Classification Table and ROC Curves .
The ctableOptions value can be one or more of the following:
includes and names the accuracy in the classification table.
when set to True, requests all available statistics.
| Default | False |
|---|
specifies the settings for an output table.
The casouttable value can be one or more of the following:
specifies the list of variables to create indexes for in the output data.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
|---|
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, overwrites an existing table that has the same name.
| Default | False |
|---|
specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure. Data redundancy applies to distributed servers only.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the number of bytes to use for blocks in the output table. The blocks are read by threads. Gradually increase this value when you have a large table with millions or billions of rows and you are tuning for performance. Larger values can increase performance with indexed tables. However, if the value is too large, then you can cause thread starvation due to too few blocks for threads to work on.
| Alias | blockSize |
|---|---|
| Default | 1048576 |
| Minimum value | 0 |
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
specifies to add a timestamp column to the table. Support for timeStamp is action-specific. Specify the value in the form that is appropriate for your session locale.
specifies one or more expressions for subsetting the output data. When multiple expressions are specified, the expressions are effectively combined using AND to form the final output filter. If an expression contains quoted values, use nested quotation marks.
specifies cutpoints for the classification table.
includes and names the false negative fraction in the classification table.
includes and names the false positive fraction (1-specificity) in the classification table.
includes and names the lift in the classification table.
includes and names the misclassification rate in the classification table.
when set to True, removes counts from the classification table.
| Default | False |
|---|
includes and names the negative predictive value in the classification table.
includes and names the percent correct in the classification table.
includes and names the positive predictive value (precision) in the classification table.
includes and names the true negative fraction (specificity) in the classification table.
includes and names the true positive fraction (recall, sensitivity) in the classification table.
specifies a list of results tables to send to the client for display.
For more information about display subparameters, see display Parameter (Shared Concepts).
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, specifies that the data to be scored were also used to fit the model.
| Default | False |
|---|
names the numeric variable that contains the frequency of occurrence of each observation.
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
creates the Hosmer and Lemeshow tables.
For more information, see The Hosmer-Lemeshow Goodness-of-Fit Test .
The lackfitOptions value can be one or more of the following:
specifies cutpoints for the Hosmer and Lemeshow partitions.
specifies the degrees of freedom to use for the Hosmer and Lemeshow test.
| Minimum value | 0 |
|---|
specifies the reduction in degrees of freedom for the Hosmer and Lemeshow test.
| Default | 2 |
|---|---|
| Minimum value | 0 |
specifies the maximum number of groups to create for the Hosmer and Lemeshow test.
| Default | 10 |
|---|---|
| Minimum value | 5 |
specifies the noncentrality parameter for the Hosmer and Lemeshow test.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, adjusts the number of groups so that the Hosmer and Lemeshow test can maintain power.
| Default | False |
|---|
specifies the effects and subparameters for least squares means.
For more information, see lsmeans Parameter (Shared Concepts).
The lsmeansList value can be one or more of the following:
determines the adjustment method for multiple comparisons of LS-Means differences.
For more information about the methods and the method-specific-parameters, see the description of the adjust subparameter in the lsmeans parameter (Shared Concepts).
The airMCAdjustTUKEY value is specified as follows:
The airMCAdjustBON value is specified as follows:
The airMCAdjustSIDAK value is specified as follows:
The airMCAdjustSMM value is specified as follows:
The airMCAdjustSCHEFFE value is specified as follows:
The airMCAdjustSIMULATE value can be one or more of the following:
specifies the target accuracy radius confidence interval in ADJUST=SIMULATE.
| Default | 0.005 |
|---|---|
| Range | 0–1 |
specifies CV option in ADJUST=SIMULATE.
| Default | False |
|---|
specifies the value for confidence interval in ADJUST=SIMULATE.
| Alias | EPS |
|---|---|
| Default | 0.01 |
| Range | 0–1 |
specifies the sample size in ADJUST=SIMULATE.
| Alias | nSamp |
|---|---|
| Default | 12604 |
| Minimum value | 0 |
specifies REPORT option in ADJUST=SIMULATE.
| Default | False |
|---|
specifies the seed for random number generation in ADJUST=SIMULATE.
The airMCAdjustDUNNETT value is specified as follows:
The airMCAdjustNELSON value is specified as follows:
The airMCAdjustT value is specified as follows:
The airMCAdjustNONE value is specified as follows:
displays a t-type confidence interval for each of the least squares means with this confidence level.
| Default | 0.05 |
|---|---|
| Range | 0–1 |
modifies covariate values in computing LS-Means. By default, all covariate effects are set equal to their mean values for computation of LS-Means.
For more information, see the description of the at subparameter in the lsmeans parameter (Shared Concepts).
The lsmeansOptionAt value can be one or more of the following:
sets values of covariates.
sets names of covariates.
when set to True, constructs t-type confidence limits for each of the least squares means.
| Default | False |
|---|
displays the differences with a control level of the specified least squares means effects.
when set to True, displays the estimated correlation matrix of the least squares means.
| Default | False |
|---|
when set to True, displays the estimated covariance matrix of the least squares means.
| Default | False |
|---|
displays differences of the least squares means.
For more information, see the description of the diff subparameter in the lsmeans parameter (Shared Concepts).
| Alias | pdiff |
|---|---|
| Default | ALL |
displays the differences between each least squares mean and the average of the least squares means.
displays the differences with the first level for each of the specified least squares means effects as a control level.
displays one-tailed results and tests whether the noncontrol levels are significantly smaller than the control level.
when set to True, displays the matrix coefficients for all effects.
| Default | False |
|---|
tunes the estimability checking.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies effects in the model for the estimates of the least squares means.
For more information, see the description of the terms subparameter in the lsmeans parameter (Shared Concepts).
The effect value is specified as follows:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
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.
controls the number of observations processed in one batch.
For more information, see the description of the pageObs parameter in Memory Usage .
| Alias | pageObs |
|---|
specifies the maximum number of levels allowed for a multinomial response.
| Default | 100 |
|---|---|
| Minimum value | 2 |
names the dependent variable, explanatory effects, and model options.
For information about model specification, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
The logisticModel value can be one or more of the following:
when set to TRUE, centers and scales continuous covariates.
| Default | False |
|---|
when set to TRUE, centers and scales covariates, including categorical covariates, for the LASSO method.
| Default | True |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
| Default | False |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
For more information, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
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.
specifies the entry variable.
specifies effects to include at the start of the selection process for the specified selection method. Included effects are never dropped during the selection process. If you specify n, where n is a positive integer, then the included effects consist of the first n effects of the model specification.
The effect value is specified as follows:
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, models missing values by using extra model effects. These effects consist of dummy variables that take the value 1 when the value of a continuous model variable involved in the effect is missing, and take the value 0 otherwise. The missing value in the original model effect is replaced by the average value of the effect for the nonmissing values. For classification variables, missing values are treated as valid levels.
For more information, see Informative Missingness (Shared Concepts).
| Default | False |
|---|
specifies the base regularization parameter for the LASSO method.
| Default | 0.8 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of steps for the LASSO method.
| Default | 20 |
|---|
specifies the convergence criterion for the LASSO method.
| Default | 1E-06 |
|---|
specifies the link function for the model.
For more information, see the LINK= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, does not include the intercept term in the model.
| 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 priors for each response level, which is used for computing the posterior predicted value.
For more information, see the PRIOR= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | False |
|---|
specifies effects to use to begin the selection process in the FORWARD, FORWARDSWAP, and STEPWISE selection methods. If you specify n, where n is a positive integer, then the starting model consists of the first n effects of the model specification.
The effect value is specified as follows:
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.
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).
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information, see Multimember Effects (Shared Concepts).
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
when set to True, levelizes the input data table everytime it is read.
| Default | False |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, does not check logistic models for separation.
For more information, see Existence of Maximum Likelihood Estimates .
| Default | False |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, divides the log likelihood by the total number of observations during the optimization.
| Default | True |
|---|
when set to True, the covariance matrix and any statistic that depends on it are not computed.
| Default | False |
|---|
when set to True, does not compute X'WX and Hessian matrices, and disables all methods and suppresses all outputs that rely on them.
| Default | False |
|---|
creates a table that compares subpopulations by using odds ratios.
The oddsratioOptions value can be one or more of the following:
specifies the significance level of the confidence limits.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the default fixed values or levels for covariates that interact with the odds ratio variable.
The orAtOpts value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
changes the default units of change for continuous odds ratio variables.
The orUnitOpts value can be one or more of the following:
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | False |
|---|
specifies units of change for a continuous odds ratio variable.
specifies a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
| Aliases | oddsratios |
|---|---|
| oddsratio |
The orSpec value can be one or more of the following:
specifies fixed values or levels for covariates that interact with the odds ratio variable.
The orSpecAt value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | False |
|---|
specifies units of change for a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
specifies the technique and options for performing the optimization.
For more information, see the description of the parameters in Optimization Parameters (Shared Concepts).
| Long form | optimization={"technique":"CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG"} |
|---|---|
| Shortcut form | optimization="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimizationStatement 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 absolute gradient convergence criterion.
| Alias | absGTol |
|---|---|
| Minimum value | 0 |
specifies the absolute parameter convergence criterion.
| Alias | absXTol |
|---|---|
| Minimum value | 0 |
specifies the number of corrections used in the LBFGS update.
| Alias | correction |
|---|---|
| Default | 20 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the second relative function difference convergence criterion.
| Alias | fTol2 |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the second relative gradient convergence criterion.
| Alias | gTol2 |
|---|---|
| Minimum value | 0 |
specifies the input initial parameter estimates data table that contains starting values for the optimization.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | False |
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the maximum number of function evaluations.
| Minimum value | 0 |
|---|
specifies the maximum number of iterations.
| Minimum value | 0 |
|---|
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Minimum value | 0 |
|---|
specifies the singularity criterion for the residual variance.
| Range | 0–1 |
|---|
specifies the optimization technique.
For more information, see Choosing an Optimization Algorithm (Shared Concepts).
| Alias | tech |
|---|---|
| Default | NRRIDG |
uses the Newton-Raphson method with line search and ridging, which requires first- and second-order derivatives.
specifies the relative parameter convergence criterion.
| Alias | xTol |
|---|---|
| Minimum value | 0 |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model.
For more information about the available statistics, see Predicted Probabilities and Regression Diagnostics .
For more information, see OUTPUT Statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
The logisticOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of confidence intervals. By default, this is set to the global significance level.
| 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).
names the confidence interval displacement, which measures the overall change in the global regression estimates that can be attributed to deleting the individual observation.
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 change in the Pearson chi-square statistic that can be attributed to deleting the individual observation.
names the change in the deviance that can be attributed to deleting the individual observation.
names the leverage of the observation.
| Alias | hatDiag |
|---|
names the predicted response level.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|
names the individual predicted value for a cumulative link. If you do not specify any output statistics, then by default the predicted value is named _IPRED_.
| Aliases | ip |
|---|---|
| individual |
names the lower bound of a confidence interval for the linear predictor.
| Aliases | lowerXBeta |
|---|---|
| lowerLinP |
names the lower bound of a confidence interval for the mean.
| Aliases | lower |
|---|---|
| lowerMean |
names the ordered response level.
when set to True, computes multinomial output statistics at the observed response level.
| Default | False |
|---|
names the posterior predicted value.
names the predicted value. If you do not specify any output statistics, then by default the predicted value is named _PRED_.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
when set to True, displays requested multinomial predicted probabilities as separate variables.
| Default | False |
|---|
names the Pearson chi-square residual.
| Aliases | pearson |
|---|---|
| pears |
names the deviance residual.
| Alias | devResid |
|---|
names the likelihood residual (likelihood displacement).
| Aliases | likeDist |
|---|---|
| ld | |
| resLike |
names the raw residual.
| Aliases | r |
|---|---|
| resid | |
| residual | |
| rawResid |
names the working residual.
identifies the training, validation, and test roles for the observations.
names the standardized Pearson chi-square residual.
| Aliases | adjPearson |
|---|---|
| adjPears |
names the standardized deviance residual.
| Alias | stdDevResid |
|---|
names the standard error of the linear predictor.
| Alias | stdP |
|---|
names the upper bound of a confidence interval for the linear predictor.
| Aliases | upperXBeta |
|---|---|
| upperLinP |
names the upper bound of a confidence interval for the mean.
| Aliases | upper |
|---|---|
| upperMean |
names the linear predictor.
| 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 whether to add raw and formatted values of classification variables in the ParameterEstimates table.
| Default | RAW |
|---|
specifies the fractions of the data to be used for validation and testing.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
randomly assigns the specified proportion of observations in the input table to the validation role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Alias | valid |
|---|---|
| Range | 0–1 |
names the variable and its values used to partition the data into training, validation, and testing roles.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
| Long form | partByVar={"name":"variable-name"} |
|---|---|
| Shortcut form | partByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies the formatted value of the variable that is used to assign observations to the validation role.
| Alias | valid |
|---|
when set to True, displays the fit statistics that are produced when your data are partitioned.
For more information, see Partition Fit Statistics .
| Default | False |
|---|
specifies the convergence criterion for the profile likelihood computations.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies the maximum number of iterations for the profile likelihood computations.
| Default | 25 |
|---|---|
| Minimum value | 0 |
specifies the tolerance for testing singularity for profile likelihood computations.
| Range | 0–1 |
|---|
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information, see Polynomial Effects (Shared Concepts).
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
specifies the options for repeated measures analysis.
The logisticModelRepeated value can be one or more of the following:
specifies the convergence criterion for repeated measures analysis.
| Default | 0.0001 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based and empirical correlation matrices of the parameters.
| Default | False |
|---|
specifies the type of correlation structure.
| Alias | covtype |
|---|---|
| Default | IN |
when set to True, displays the estimated working correlation matrix.
| Default | False |
|---|
when set to True, displays the estimated model-based and empirical covariance matrices of the parameters.
| Default | False |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
when set to True, displays the estimated empirical correlation matrix of the parameters.
| Default | False |
|---|
when set to True, displays the estimated empirical covariance matrix of the parameters.
| Default | False |
|---|
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.
defines an effect that specifies heterogeneity in the covariance structure of G for mixed models. All observations that have the same level of the group effect have the same covariance parameters. Each new level of the group effect produces a new set of covariance parameters that has the same structure as the original group.
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.
specifies the maximum number of iterations for repeated measures analysis.
| Default | 50 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based correlation matrix of the parameters.
| Default | False |
|---|
when set to True, displays the estimated model-based covariance matrix of the parameters.
| Default | False |
|---|
specifies the order of the m-dependent correlation structure.
| Default | 1 |
|---|---|
| Minimum value | 1 |
produces a parameter estimates table that displays and uses the model-based standard errors.
| Default | False |
|---|
produces the parameter estimates table from the initial stage of estimation.
| Default | False |
|---|
identifies the subjects in a mixed model.
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.
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).
restores regression models from a binary large object (BLOB).
| Long form | restore={"name":"table-name"} |
|---|---|
| Shortcut form | restore="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the method and options for performing model selection.
For more information, see selection Parameter (Shared Concepts).
| Long form | selection={"method":"BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE"} |
|---|---|
| Shortcut form | selection="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE" |
The selectionStatement value can be one or more of the following:
specifies the maximum number of candidates to display at each step of the selection process, when the detail level ALL is specified.
specifies the criterion for choosing the model. The specified criterion is evaluated at each step of the selection process, and the model that yields the best value of the criterion is chosen.
For more information, see the discussion of the choose subparameter (Shared Concepts).
specifies the level of detail to produce about the selection process.
For more information, see the description of the details subparameter (Shared Concepts).
| Default | SUMMARY |
|---|
specifies options to use in performing elastic net selection methods.
The enOptions value can be one or more of the following:
specifies the absolute function difference convergence criterion.
| Alias | abstol |
|---|---|
| Default | 1E-08 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the regularization parameters in the elastic net selection method.
specifies the elastic net mixing parameter.
specifies the number of regularization parameters in the elastic net selection method.
| Alias | nLambda |
|---|---|
| Default | 0 |
| Minimum value | 0 |
specifies the scaling factor to use in computing minimum regularization parameter.
| Range | (0, 1) |
|---|
specifies a solver for elastic net selection.
implements the computational algorithm of Lawless and Singhal (1978) to compute a first-order approximation to the remaining slope estimates for each subsequent elimination of a variable from the model during backward selection for generalized linear models.
| Default | False |
|---|
specifies whether and how to apply the model hierarchy requirement. Model hierarchy refers to the requirement that, for any term to be in the model, all model effects that are contained in the term must be present in the model.
For more information, see the description of the hierarchy subparameter (Shared Concepts).
| Default | DEFAULT |
|---|
specifies the coefficients in the relaxed LASSO method.
specifies the maximum number of effects in any model to consider during the selection process. This parameter is ignored for backward selection.
specifies the maximum number of selection steps to perform.
specifies the model selection method.
For more information, see Model Selection Methods (Shared Concepts).
| Default | STEPWISE |
|---|
specifies the minimum number of effects in any model to consider during backward selection.
when set to True, shows effects in parameter estimates tables in the order in which they were added to the model.
| Default | False |
|---|
when set to True, produces coefficientProgression and selectionSummaryForPlots tables that you can use to produce selection diagnostic plots.
For more information about the plots you can create, see Model Selection Plots (Shared Concepts in SAS Visual Statistics: Procedures).
| Default | False |
|---|
when set to True, applies the relaxed LASSO method.
| Default | False |
|---|
specifies the criterion to use in determining the order in which effects enter or leave at each step of the selection method. This parameter does not apply to LAR or LASSO selection.
For more information, see the discussion of the select subparameter (Shared Concepts).
specifies the significance level for entry when the significance level is used as the select or stop criterion.
| Alias | sle |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies the significance level for removal when the significance level is used as the select or stop criterion.
| Alias | sls |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies a criterion that to use for stopping the selection process. If you do not specify a stop criterion, then the criterion that is used to select the model is also used as the stop criterion.
For more information, see the discussion of the stop subparameter (Shared Concepts).
specifies the number of consecutive steps at which the stop criterion must worsen in order for a local extremum to be detected.
For more information, see the description of the stopHorizon subparameter (Shared Concepts).
| Default | 3 |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information, see Spline Effects (Shared Concepts).
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | False |
|---|
when set to True, produces standardized regression coefficients. A standardized regression coefficient is computed by dividing a parameter estimate by the ratio of the sample standard deviation of the dependent variable to the sample standard deviation of the regressor.
| Default | False |
|---|
stores regression models to a binary large object (BLOB).
| Alias | savestate |
|---|
| Long form | store={"name":"table-name"} |
|---|---|
| Shortcut form | store="table-name" |
The casouttable value can be one or more of the following:
specifies the name of the caslib for the output table.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | False |
|---|
when set to True, overwrites an existing table that has the same name.
| Default | False |
|---|
specifies text to store that gets displayed when you restore the model.
| Alias | storenote |
|---|
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when equal to 1, displays all tables even if there is an optimization error.
| Default | False |
|---|
names the numeric variable to use to perform a weighted analysis of the data.
adjusts the weights so the total weight equals the total frequency.
| Default | False |
|---|
Fits logistic regression models.
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 |
|---|---|---|
|
inParmEst |
specifies the technique and options for performing the optimization. |
|
|
— |
restores regression models from a binary large object (BLOB). |
|
|
— |
specifies the input data table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
casOut |
writes SAS DATA step code for computing predicted values of the fitted model |
|
|
casOut |
creates the classification table. |
|
|
required parametercasOut |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
|
|
— |
stores regression models to a binary large object (BLOB). |
specifies the significance level to use for the construction of all confidence intervals.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
when set to True, uses the available groupBy and orderBy information to group and order the data.
| Default | FALSE |
|---|
when sent to True, creates the association table.
| Default | FALSE |
|---|
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 |
|---|
specifies the precision of the predicted probabilities that are used for classification.
| Default | 1E-05 |
|---|---|
| Range | 0–1 |
names the classification variables to be used as explanatory variables in the analysis.
For more information about class subparameters, see class Parameter (Shared Concepts).
For more information about specifying the class parameter, see the common classStatement parameter (Appendix A: Common Parameters).
| Alias | classVars |
|---|
lists options that apply to all classification variables.
For more information about specifying the classGlobalOpts parameter, see the common classopts parameter (Appendix A: Common Parameters).
when set to False, suppresses the display of class levels.
| Default | TRUE |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
writes SAS DATA step code for computing predicted values of the fitted model
For more information about specifying the code parameter, see the common aircodegen parameter (Appendix A: Common Parameters).
defines a set of variables that are treated as a single effect that has multiple degrees of freedom.
For more information, see Collection Effects (Shared Concepts).
The collection value can be one or more of the following:
when set to True, requests a table that shows additional details that are related to this effect.
| Default | FALSE |
|---|
specifies the name of the effect.
specifies a set of variables that are treated as a single effect that has multiple degrees of freedom. The columns in the design matrix that are contributed by a collection effect are the design columns of its constituent variables in the order in which they appear in the definition of the collection effect.
when set to True, displays the correlation matrix of the parameters.
| Default | FALSE |
|---|
when set to True, displays the covariance matrix of the parameters.
| Default | FALSE |
|---|
creates the classification table.
For more information, see Classification Table and ROC Curves .
The ctableOptions value can be one or more of the following:
includes and names the accuracy in the classification table.
when set to True, requests all available statistics.
| Default | FALSE |
|---|
specifies the settings for an output table.
The casouttable value can be one or more of the following:
specifies the list of variables to create indexes for in the output data.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
|---|
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, overwrites an existing table that has the same name.
| Default | FALSE |
|---|
specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure. Data redundancy applies to distributed servers only.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the number of bytes to use for blocks in the output table. The blocks are read by threads. Gradually increase this value when you have a large table with millions or billions of rows and you are tuning for performance. Larger values can increase performance with indexed tables. However, if the value is too large, then you can cause thread starvation due to too few blocks for threads to work on.
| Alias | blockSize |
|---|---|
| Default | 1048576 |
| Minimum value | 0 |
| TIP | You can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes. |
specifies to add a timestamp column to the table. Support for timeStamp is action-specific. Specify the value in the form that is appropriate for your session locale.
specifies one or more expressions for subsetting the output data. When multiple expressions are specified, the expressions are effectively combined using AND to form the final output filter. If an expression contains quoted values, use nested quotation marks.
specifies cutpoints for the classification table.
includes and names the false negative fraction in the classification table.
includes and names the false positive fraction (1-specificity) in the classification table.
includes and names the lift in the classification table.
includes and names the misclassification rate in the classification table.
when set to True, removes counts from the classification table.
| Default | FALSE |
|---|
includes and names the negative predictive value in the classification table.
includes and names the percent correct in the classification table.
includes and names the positive predictive value (precision) in the classification table.
includes and names the true negative fraction (specificity) in the classification table.
includes and names the true positive fraction (recall, sensitivity) in the classification table.
specifies a list of results tables to send to the client for display.
For more information about display subparameters, see display Parameter (Shared Concepts).
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, specifies that the data to be scored were also used to fit the model.
| Default | FALSE |
|---|
names the numeric variable that contains the frequency of occurrence of each observation.
specifies variables to use for analysis.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | input |
|---|
creates the Hosmer and Lemeshow tables.
For more information, see The Hosmer-Lemeshow Goodness-of-Fit Test .
The lackfitOptions value can be one or more of the following:
specifies cutpoints for the Hosmer and Lemeshow partitions.
specifies the degrees of freedom to use for the Hosmer and Lemeshow test.
| Minimum value | 0 |
|---|
specifies the reduction in degrees of freedom for the Hosmer and Lemeshow test.
| Default | 2 |
|---|---|
| Minimum value | 0 |
specifies the maximum number of groups to create for the Hosmer and Lemeshow test.
| Default | 10 |
|---|---|
| Minimum value | 5 |
specifies the noncentrality parameter for the Hosmer and Lemeshow test.
| Default | 0 |
|---|---|
| Minimum value | 0 |
when set to True, adjusts the number of groups so that the Hosmer and Lemeshow test can maintain power.
| Default | FALSE |
|---|
specifies the effects and subparameters for least squares means.
For more information, see lsmeans Parameter (Shared Concepts).
The lsmeansList value can be one or more of the following:
determines the adjustment method for multiple comparisons of LS-Means differences.
For more information about the methods and the method-specific-parameters, see the description of the adjust subparameter in the lsmeans parameter (Shared Concepts).
The airMCAdjustTUKEY value is specified as follows:
The airMCAdjustBON value is specified as follows:
The airMCAdjustSIDAK value is specified as follows:
The airMCAdjustSMM value is specified as follows:
The airMCAdjustSCHEFFE value is specified as follows:
The airMCAdjustSIMULATE value can be one or more of the following:
specifies the target accuracy radius confidence interval in ADJUST=SIMULATE.
| Default | 0.005 |
|---|---|
| Range | 0–1 |
specifies CV option in ADJUST=SIMULATE.
| Default | FALSE |
|---|
specifies the value for confidence interval in ADJUST=SIMULATE.
| Alias | EPS |
|---|---|
| Default | 0.01 |
| Range | 0–1 |
specifies the sample size in ADJUST=SIMULATE.
| Alias | nSamp |
|---|---|
| Default | 12604 |
| Minimum value | 0 |
specifies REPORT option in ADJUST=SIMULATE.
| Default | FALSE |
|---|
specifies the seed for random number generation in ADJUST=SIMULATE.
The airMCAdjustDUNNETT value is specified as follows:
The airMCAdjustNELSON value is specified as follows:
The airMCAdjustT value is specified as follows:
The airMCAdjustNONE value is specified as follows:
displays a t-type confidence interval for each of the least squares means with this confidence level.
| Default | 0.05 |
|---|---|
| Range | 0–1 |
modifies covariate values in computing LS-Means. By default, all covariate effects are set equal to their mean values for computation of LS-Means.
For more information, see the description of the at subparameter in the lsmeans parameter (Shared Concepts).
The lsmeansOptionAt value can be one or more of the following:
sets values of covariates.
sets names of covariates.
when set to True, constructs t-type confidence limits for each of the least squares means.
| Default | FALSE |
|---|
displays the differences with a control level of the specified least squares means effects.
when set to True, displays the estimated correlation matrix of the least squares means.
| Default | FALSE |
|---|
when set to True, displays the estimated covariance matrix of the least squares means.
| Default | FALSE |
|---|
displays differences of the least squares means.
For more information, see the description of the diff subparameter in the lsmeans parameter (Shared Concepts).
| Alias | pdiff |
|---|---|
| Default | ALL |
displays the differences between each least squares mean and the average of the least squares means.
displays the differences with the first level for each of the specified least squares means effects as a control level.
displays one-tailed results and tests whether the noncontrol levels are significantly smaller than the control level.
when set to True, displays the matrix coefficients for all effects.
| Default | FALSE |
|---|
tunes the estimability checking.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies effects in the model for the estimates of the least squares means.
For more information, see the description of the terms subparameter in the lsmeans parameter (Shared Concepts).
The effect value is specified as follows:
specifies the type of interaction for the variables.
| Alias | interact |
|---|---|
| Default | NONE |
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.
controls the number of observations processed in one batch.
For more information, see the description of the pageObs parameter in Memory Usage .
| Alias | pageObs |
|---|
specifies the maximum number of levels allowed for a multinomial response.
| Default | 100 |
|---|---|
| Minimum value | 2 |
names the dependent variable, explanatory effects, and model options.
For information about model specification, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
The logisticModel value can be one or more of the following:
when set to TRUE, centers and scales continuous covariates.
| Default | FALSE |
|---|
when set to TRUE, centers and scales covariates, including categorical covariates, for the LASSO method.
| Default | TRUE |
|---|
when set to True, displays upper and lower confidence limits for the parameter estimates.
| Default | FALSE |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
For more information, see Introduction (Specifying Linear Models for SAS Viya Analytical Actions).
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.
specifies the entry variable.
specifies effects to include at the start of the selection process for the specified selection method. Included effects are never dropped during the selection process. If you specify n, where n is a positive integer, then the included effects consist of the first n effects of the model specification.
The effect value is specified as follows:
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, models missing values by using extra model effects. These effects consist of dummy variables that take the value 1 when the value of a continuous model variable involved in the effect is missing, and take the value 0 otherwise. The missing value in the original model effect is replaced by the average value of the effect for the nonmissing values. For classification variables, missing values are treated as valid levels.
For more information, see Informative Missingness (Shared Concepts).
| Default | FALSE |
|---|
specifies the base regularization parameter for the LASSO method.
| Default | 0.8 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of steps for the LASSO method.
| Default | 20 |
|---|
specifies the convergence criterion for the LASSO method.
| Default | 1E-06 |
|---|
specifies the link function for the model.
For more information, see the LINK= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, does not include the intercept term in the model.
| 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 priors for each response level, which is used for computing the posterior predicted value.
For more information, see the PRIOR= option in the MODEL statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | FALSE |
|---|
specifies effects to use to begin the selection process in the FORWARD, FORWARDSWAP, and STEPWISE selection methods. If you specify n, where n is a positive integer, then the starting model consists of the first n effects of the model specification.
The effect value is specified as follows:
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.
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).
uses one or more classification variables specified in the vars parameter in such a way that each observation can be associated with one or more levels of the union of the levels of the classification variables.
For more information, see Multimember Effects (Shared Concepts).
For more information about specifying the multimember parameter, see the common multimember parameter (Appendix A: Common Parameters).
when set to True, levelizes the input data table everytime it is read.
| Default | FALSE |
|---|
limits the display of class levels. The value 0 suppresses all levels.
| Minimum value | 0 |
|---|
when set to True, does not check logistic models for separation.
For more information, see Existence of Maximum Likelihood Estimates .
| Default | FALSE |
|---|
specifies nominal variables to use for analysis.
For more information about specifying the nominals parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Alias | nominal |
|---|
when set to True, divides the log likelihood by the total number of observations during the optimization.
| Default | TRUE |
|---|
when set to True, the covariance matrix and any statistic that depends on it are not computed.
| Default | FALSE |
|---|
when set to True, does not compute X'WX and Hessian matrices, and disables all methods and suppresses all outputs that rely on them.
| Default | FALSE |
|---|
creates a table that compares subpopulations by using odds ratios.
The oddsratioOptions value can be one or more of the following:
specifies the significance level of the confidence limits.
| Default | 0.05 |
|---|---|
| Range | (0, 1) |
changes the default fixed values or levels for covariates that interact with the odds ratio variable.
The orAtOpts value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
changes the default units of change for continuous odds ratio variables.
The orUnitOpts value can be one or more of the following:
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | FALSE |
|---|
specifies units of change for a continuous odds ratio variable.
specifies a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
| Aliases | oddsratios |
|---|---|
| oddsratio |
The orSpec value can be one or more of the following:
specifies fixed values or levels for covariates that interact with the odds ratio variable.
The orSpecAt value can be one or more of the following:
specifies fixed levels for a classification covariate that interacts with the odds ratio variable.
| Default | REF |
|---|---|
| ALL | specifies all levels of the classification variable. |
| REF | specifies the reference level of the classification variable. |
specifies fixed values for a continuous covariate that interacts with the odds ratio variable.
specifies a covariate that interacts with the odds ratio variable.
when set to True, specifies that the units of change for a continuous odds ratio variable are multiples of the standard error.
| Default | FALSE |
|---|
specifies units of change for a continuous odds ratio variable.
specifies variables for which odds ratios are computed.
specifies the technique and options for performing the optimization.
For more information, see the description of the parameters in Optimization Parameters (Shared Concepts).
| Long form | optimization=list(technique="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG") |
|---|---|
| Shortcut form | optimization="CONGRA" | "DBLDOG" | "DUQUANEW" | "LBFGS" | "NEWRAP" | "NMSIMP" | "NONE" | "NRRIDG" | "QUANEW" | "TRUREG" |
The optimizationStatement 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 absolute gradient convergence criterion.
| Alias | absGTol |
|---|---|
| Minimum value | 0 |
specifies the absolute parameter convergence criterion.
| Alias | absXTol |
|---|---|
| Minimum value | 0 |
specifies the number of corrections used in the LBFGS update.
| Alias | correction |
|---|---|
| Default | 20 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the second relative function difference convergence criterion.
| Alias | fTol2 |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the second relative gradient convergence criterion.
| Alias | gTol2 |
|---|---|
| Minimum value | 0 |
specifies the input initial parameter estimates data table that contains starting values for the optimization.
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the maximum number of function evaluations.
| Minimum value | 0 |
|---|
specifies the maximum number of iterations.
| Minimum value | 0 |
|---|
specifies the maximum allowed CPU time in seconds.
| Minimum value | 0 |
|---|
specifies the minimum number of iterations.
| Minimum value | 0 |
|---|
specifies the singularity criterion for the residual variance.
| Range | 0–1 |
|---|
specifies the optimization technique.
For more information, see Choosing an Optimization Algorithm (Shared Concepts).
| Alias | tech |
|---|---|
| Default | NRRIDG |
uses the Newton-Raphson method with line search and ridging, which requires first- and second-order derivatives.
specifies the relative parameter convergence criterion.
| Alias | xTol |
|---|---|
| Minimum value | 0 |
creates a table on the server that contains observationwise statistics, which are computed after fitting the model.
For more information about the available statistics, see Predicted Probabilities and Regression Diagnostics .
For more information, see OUTPUT Statement (LOGSELECT Procedure in SAS Visual Statistics: Procedures).
The logisticOutputStatement value can be one or more of the following:
specifies the significance level to use for the construction of confidence intervals. By default, this is set to the global significance level.
| 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).
names the confidence interval displacement, which measures the overall change in the global regression estimates that can be attributed to deleting the individual observation.
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 change in the Pearson chi-square statistic that can be attributed to deleting the individual observation.
names the change in the deviance that can be attributed to deleting the individual observation.
names the leverage of the observation.
| Alias | hatDiag |
|---|
names the predicted response level.
specifies the predicted event probability that determines the predicted binary response level.
| Default | 0.5 |
|---|
names the individual predicted value for a cumulative link. If you do not specify any output statistics, then by default the predicted value is named _IPRED_.
| Aliases | ip |
|---|---|
| individual |
names the lower bound of a confidence interval for the linear predictor.
| Aliases | lowerXBeta |
|---|---|
| lowerLinP |
names the lower bound of a confidence interval for the mean.
| Aliases | lower |
|---|---|
| lowerMean |
names the ordered response level.
when set to True, computes multinomial output statistics at the observed response level.
| Default | FALSE |
|---|
names the posterior predicted value.
names the predicted value. If you do not specify any output statistics, then by default the predicted value is named _PRED_.
| Aliases | p |
|---|---|
| predicted | |
| iLink | |
| mean |
when set to True, displays requested multinomial predicted probabilities as separate variables.
| Default | FALSE |
|---|
names the Pearson chi-square residual.
| Aliases | pearson |
|---|---|
| pears |
names the deviance residual.
| Alias | devResid |
|---|
names the likelihood residual (likelihood displacement).
| Aliases | likeDist |
|---|---|
| ld | |
| resLike |
names the raw residual.
| Aliases | r |
|---|---|
| resid | |
| residual | |
| rawResid |
names the working residual.
identifies the training, validation, and test roles for the observations.
names the standardized Pearson chi-square residual.
| Aliases | adjPearson |
|---|---|
| adjPears |
names the standardized deviance residual.
| Alias | stdDevResid |
|---|
names the standard error of the linear predictor.
| Alias | stdP |
|---|
names the upper bound of a confidence interval for the linear predictor.
| Aliases | upperXBeta |
|---|---|
| upperLinP |
names the upper bound of a confidence interval for the mean.
| Aliases | upper |
|---|---|
| upperMean |
names the linear predictor.
| 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 whether to add raw and formatted values of classification variables in the ParameterEstimates table.
| Default | RAW |
|---|
specifies the fractions of the data to be used for validation and testing.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
The partByFracStatement value can be one or more of the following:
specifies the seed to use in the random number generator that is used for partitioning the data.
| Default | 0 |
|---|
randomly assigns the specified proportion of observations in the input table to the testing role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Range | 0–1 |
|---|
randomly assigns the specified proportion of observations in the input table to the validation role. The sum of the fractions that are specified in the test and validate parameters must be less than 1.
| Alias | valid |
|---|---|
| Range | 0–1 |
names the variable and its values used to partition the data into training, validation, and testing roles.
For more information, see partByFrac and partByVar Partitioning Parameters (Shared Concepts).
| Long form | partByVar=list(name="variable-name") |
|---|---|
| Shortcut form | partByVar="variable-name" |
The partByVarStatement value can be one or more of the following:
names the variable in the input table whose values are used to assign roles to each observation.
specifies the formatted value of the variable that is used to assign observations to the testing role.
specifies the formatted value of the variable that is used to assign observations to the training role. If you do not specify the train parameter, then all observations whose roles are not determined by the test and validate parameters are assigned to training.
specifies the formatted value of the variable that is used to assign observations to the validation role.
| Alias | valid |
|---|
when set to True, displays the fit statistics that are produced when your data are partitioned.
For more information, see Partition Fit Statistics .
| Default | FALSE |
|---|
specifies the convergence criterion for the profile likelihood computations.
| Default | 0.0001 |
|---|---|
| Range | 0–1 |
specifies the maximum number of iterations for the profile likelihood computations.
| Default | 25 |
|---|---|
| Minimum value | 0 |
specifies the tolerance for testing singularity for profile likelihood computations.
| Range | 0–1 |
|---|
specifies a polynomial effect. All specified variables must be numeric. A design matrix column is generated for each term of the specified polynomial. By default, each of these terms is treated as a separate effect for the purpose of model building.
For more information, see Polynomial Effects (Shared Concepts).
For more information about specifying the polynomial parameter, see the common polynomial parameter (Appendix A: Common Parameters).
| Alias | poly |
|---|
specifies the options for repeated measures analysis.
The logisticModelRepeated value can be one or more of the following:
specifies the convergence criterion for repeated measures analysis.
| Default | 0.0001 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based and empirical correlation matrices of the parameters.
| Default | FALSE |
|---|
specifies the type of correlation structure.
| Alias | covtype |
|---|---|
| Default | IN |
when set to True, displays the estimated working correlation matrix.
| Default | FALSE |
|---|
when set to True, displays the estimated model-based and empirical covariance matrices of the parameters.
| Default | FALSE |
|---|
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 type of the response variable. The types NOMINAL, ORDINAL and BINARY specify that the response variable should be levelized. When the value of this parameter is INTERVAL, all other parameters specified for this response variable are ignored and the response variable is not levelized.
| Default | INTERVAL |
|---|
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.
when set to True, displays the estimated empirical correlation matrix of the parameters.
| Default | FALSE |
|---|
when set to True, displays the estimated empirical covariance matrix of the parameters.
| Default | FALSE |
|---|
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.
defines an effect that specifies heterogeneity in the covariance structure of G for mixed models. All observations that have the same level of the group effect have the same covariance parameters. Each new level of the group effect produces a new set of covariance parameters that has the same structure as the original group.
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.
specifies the maximum number of iterations for repeated measures analysis.
| Default | 50 |
|---|---|
| Minimum value | 0 |
when set to True, displays the estimated model-based correlation matrix of the parameters.
| Default | FALSE |
|---|
when set to True, displays the estimated model-based covariance matrix of the parameters.
| Default | FALSE |
|---|
specifies the order of the m-dependent correlation structure.
| Default | 1 |
|---|---|
| Minimum value | 1 |
produces a parameter estimates table that displays and uses the model-based standard errors.
| Default | FALSE |
|---|
produces the parameter estimates table from the initial stage of estimation.
| Default | FALSE |
|---|
identifies the subjects in a mixed model.
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.
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).
restores regression models from a binary large object (BLOB).
| Long form | restore=list(name="table-name") |
|---|---|
| Shortcut form | restore="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the name of the input table.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter (Appendix A: Common Parameters).
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies a seed for starting the pseudorandom number generator.
| Default | 0 |
|---|---|
| Range | 0–4294967295 |
specifies the method and options for performing model selection.
For more information, see selection Parameter (Shared Concepts).
| Long form | selection=list(method="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE") |
|---|---|
| Shortcut form | selection="BACKWARD" | "ELASTICNET" | "FORWARD" | "LASSO" | "NONE" | "STEPWISE" |
The selectionStatement value can be one or more of the following:
specifies the maximum number of candidates to display at each step of the selection process, when the detail level ALL is specified.
specifies the criterion for choosing the model. The specified criterion is evaluated at each step of the selection process, and the model that yields the best value of the criterion is chosen.
For more information, see the discussion of the choose subparameter (Shared Concepts).
specifies the level of detail to produce about the selection process.
For more information, see the description of the details subparameter (Shared Concepts).
| Default | SUMMARY |
|---|
specifies options to use in performing elastic net selection methods.
The enOptions value can be one or more of the following:
specifies the absolute function difference convergence criterion.
| Alias | abstol |
|---|---|
| Default | 1E-08 |
| Minimum value | 0 |
specifies the relative function difference convergence criterion.
| Alias | fTol |
|---|---|
| Minimum value | 0 |
specifies the relative gradient convergence criterion.
| Alias | gTol |
|---|---|
| Minimum value | 0 |
specifies the regularization parameters in the elastic net selection method.
specifies the elastic net mixing parameter.
specifies the number of regularization parameters in the elastic net selection method.
| Alias | nLambda |
|---|---|
| Default | 0 |
| Minimum value | 0 |
specifies the scaling factor to use in computing minimum regularization parameter.
| Range | (0, 1) |
|---|
specifies a solver for elastic net selection.
implements the computational algorithm of Lawless and Singhal (1978) to compute a first-order approximation to the remaining slope estimates for each subsequent elimination of a variable from the model during backward selection for generalized linear models.
| Default | FALSE |
|---|
specifies whether and how to apply the model hierarchy requirement. Model hierarchy refers to the requirement that, for any term to be in the model, all model effects that are contained in the term must be present in the model.
For more information, see the description of the hierarchy subparameter (Shared Concepts).
| Default | DEFAULT |
|---|
specifies the coefficients in the relaxed LASSO method.
specifies the maximum number of effects in any model to consider during the selection process. This parameter is ignored for backward selection.
specifies the maximum number of selection steps to perform.
specifies the model selection method.
For more information, see Model Selection Methods (Shared Concepts).
| Default | STEPWISE |
|---|
specifies the minimum number of effects in any model to consider during backward selection.
when set to True, shows effects in parameter estimates tables in the order in which they were added to the model.
| Default | FALSE |
|---|
when set to True, produces coefficientProgression and selectionSummaryForPlots tables that you can use to produce selection diagnostic plots.
For more information about the plots you can create, see Model Selection Plots (Shared Concepts in SAS Visual Statistics: Procedures).
| Default | FALSE |
|---|
when set to True, applies the relaxed LASSO method.
| Default | FALSE |
|---|
specifies the criterion to use in determining the order in which effects enter or leave at each step of the selection method. This parameter does not apply to LAR or LASSO selection.
For more information, see the discussion of the select subparameter (Shared Concepts).
specifies the significance level for entry when the significance level is used as the select or stop criterion.
| Alias | sle |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies the significance level for removal when the significance level is used as the select or stop criterion.
| Alias | sls |
|---|---|
| Default | 0.05 |
| Range | (0, 1) |
specifies a criterion that to use for stopping the selection process. If you do not specify a stop criterion, then the criterion that is used to select the model is also used as the stop criterion.
For more information, see the discussion of the stop subparameter (Shared Concepts).
specifies the number of consecutive steps at which the stop criterion must worsen in order for a local extremum to be detected.
For more information, see the description of the stopHorizon subparameter (Shared Concepts).
| Default | 3 |
|---|
expands variables into spline bases whose form depends on the specified parameters.
For more information, see Spline Effects (Shared Concepts).
For more information about specifying the spline parameter, see the common spline parameter (Appendix A: Common Parameters).
when set to True, performs Type 3 effect tests. Under full-rank parameterizations or models with constructed effects, Type 3 effect tests are replaced by joint tests. The joint test for an effect is a test that all the parameters associated with that effect are zero. Such joint tests might not be equivalent to Type 3 effect tests under GLM parameterization.
| Default | FALSE |
|---|
when set to True, produces standardized regression coefficients. A standardized regression coefficient is computed by dividing a parameter estimate by the ratio of the sample standard deviation of the dependent variable to the sample standard deviation of the regressor.
| Default | FALSE |
|---|
stores regression models to a binary large object (BLOB).
| Alias | savestate |
|---|
| Long form | store=list(name="table-name") |
|---|---|
| Shortcut form | store="table-name" |
The casouttable value can be one or more of the following:
specifies the name of the caslib for the output table.
specifies the descriptive label to associate with the table.
specifies the number of seconds to keep the table in memory after it is last accessed. The table is dropped if it is not accessed for the specified number of seconds.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the memory format for the output table.
| Default | INHERIT |
|---|
use the duplicate value reduction memory format. This memory format can reduce the memory consumption and file size when the input data contains duplicate values.
specifies the name for the output table.
when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.
| Default | FALSE |
|---|
when set to True, overwrites an existing table that has the same name.
| Default | FALSE |
|---|
specifies text to store that gets displayed when you restore the model.
| Alias | storenote |
|---|
specifies the input data table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
specifies the target variable to use for analysis.
when equal to 1, displays all tables even if there is an optimization error.
| Default | FALSE |
|---|
names the numeric variable to use to perform a weighted analysis of the data.
adjusts the weights so the total weight equals the total frequency.
| Default | FALSE |
|---|