170k views
2 votes
Which of the following statements can be used to exclude variables from the output dataset?

a) DROP statement
b) KEEP statement
c) EXCLUDE statement
d) OMIT statement

User Bertram
by
8.2k points

1 Answer

3 votes

Final answer:

The DROP and KEEP statements can be used to exclude variables from the output dataset in programming languages like SAS.

Step-by-step explanation:

The DROP statement is used to exclude variables from the output dataset in programming languages like SAS.

KEEP statement is used to select specific variables and exclude others from the output dataset.

On the other hand, EXCLUDE and OMIT statements are not typically used to exclude variables, but they can be used to exclude observations from the dataset.

User Shubham Vala
by
8.1k points