By Variables

Use this field to specify one or more BY variables from the input data set to use in your analysis. Separate analyses are conducted for each BY group variable. A separate plot is generated for each BY group.

Note: If no BY variables are specified, the analysis is conducted across all the subjects.

BY Variables

BY variables are optional (in most processes) variable specifications whose values define groups of observations, such as hour, month, or year. BY variables can enable analyses to be performed separately on different subgroups of your data that are defined by those variables that you specify. Choosing a BY variable such as gender, for example, groups the subjects by gender and conducts two separate analyses: one for males and one for females.

Alternatively, specifying a BY variable enables you to animate an image so that you can see how response values change according to some grouping, like over time.

To Specify One or More BY Variables:

8      Specify the Input SAS Data Set or Primary Input SAS Data Set (whichever applies).

All of the variables in the specified data set are displayed in the Available Variables field.

8      Examine the list of available variables.
8      Highlight one or more variables by which you want to groups your results. To highlight multiple variables at once, hold down while left-clicking on them.
8      Click to add the highlighted variable(s) to the By Variables field, as shown below: