Explore. Share. Code.

The starting point for your SAS® and Viya™ projects

Articles
Technical Articles

Discover technical articles from the community

Code SAS
SAS® Code

Snippets & Tutorials

FAQ
Q&A Base

FAQ & Help

Scenarios
Scenarios

Business Use Cases

CAS Actions
CAS Actions

Full Catalog & Examples

Data Step
Data Step

Preparation Scripts

Python
Python

SAS & Python Integration

Blog
Blog

News, tech watch and site updates

Join the community

Participate in the life of the site

Community by the numbers

0
Documented Actions
0
Code Examples
0
Articles Techniques
0
Scénarios Métiers
0
Solved Questions

Random FAQ

How are the groups for the Hosmer and Lemeshow test determined?

You can define the groups by using either the 'nGroups' parameter to specify the number of equal-sized groups based on predicted probabilities, or the 'cutpt' parameter to provide specific cutpoints for creating the partitions.

See answer
On: logisticLackfit
seed

specifies the seed for the random number generator. By default, the random number stream is based on the computer clock. Negative values also result in random number streams based on the computer clock. If you want a reproducible random number sequence between runs, specify a value that is greater than zero. Default: 0 Range: 0–MACINT

See answer
On: forestTrain
How are output tables generated in genmod Action?

The output parameter creates a table on the server containing observationwise statistics after model fitting. It accepts a genmodOutputStatement structure, which includes the required casOut subparameter for specifying output table settings and various options for naming predicted values, residuals, and confidence intervals.

See answer
On: genmod
How does the encodeName parameter affect the output variables?

The 'encodeName' parameter specifies whether to encode variable names, such as predicted probabilities for binary or nominal targets. If set to TRUE, variables use the prefix 'P_' instead of the default '_DT_P_'. The default value is FALSE.

See answer
On: gbtreeCode
What is the 'table.whereTable.vars.format' subparameter?

The 'table.whereTable.vars.format' subparameter specifies the format to apply to the variable.

See answer
On: groupBy