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 can I obtain predicted values or other statistics for each observation?

You can generate an output table with various statistics by using the 'output' parameter and specifying a CAS output table with 'casOut'. Within the 'output' parameter, you can request statistics such as predicted mean ('pred'), probability of the observed count ('prob'), and the linear predictor ('xbeta').

See answer
On: countregFitModel
How do I specify the source model to be copied?

You must specify the source model using the `modelTable` parameter, which is a CAS table containing the model, and the `modelName` parameter, which identifies the specific model within that table.

See answer
On: copyModelExternal
code={codegen}

specifies the settings for generating SAS DATA step scoring code. For more information about specifying the code parameter, see the common codegen parameter.

See answer
On: impute
applyRowOrder

Specifies that you wish the action use a prespecified row ordering. This requires using the orderby and groupby parameters on a preliminary table.partition action call. Alias: reproducibleRowOrder. Default: FALSE.

See answer
On: gbtreeScore
What is the `restore` parameter?

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: caslib, dataSourceOptions, name (required), whereTable (with sub-parameters casLib, dataSourceOptions, importOptions, name (required), vars, where).

See answer
On: genmodScore