164k views
2 votes
What keyword is used to define the variables in SAS Dataset?

a) DEFINE
b) INPUT
c) VAR
d) COLUMN

User Rashita
by
7.9k points

1 Answer

1 vote

Final answer:

The keyword used to define variables in a SAS Dataset is VARIABLE.

Step-by-step explanation:

The keyword used to define variables in a SAS Dataset is VARIABLE. It is used in the DATA step to define and name the variables that will be included in the dataset. For example:

DATA MyDataset;
VARIABLE Name Age Gender;

This code snippet defines a SAS Dataset named MyDataset with three variables: Name, Age, and Gender.

User Jackie Shephard
by
8.7k points