Specifying Linear Models for SAS Viya Analytical Actions
Model Specifications with Examples
The SAS Viya analytical actions offer great flexibility and generality for specifying covariate effects. But the generality does not get in the way if you have a simple model. Each model parameter in a SAS Viya analytical action requires at least two subparameters:
The argument for depVar is just the name of the dependent variable. Similarly, for some simple linear models, the argument for effects is just a list of the names of all the predictors. However, additional subparameters of effects enable you to specify more complex and versatile models, as shown in the following sections.
Last updated: March 27, 2025