Multiple choice technology programming languages

How will you define the list of variables to be printed in the PRINT procedure?

  1. Weight statement

  2. Var statement

  3. Class statement

  4. By statement

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In the PRINT procedure, the VAR statement specifies which variables to include in the output. WEIGHT is used in procedures like PROC MEANS or PROC REG for weighted analysis. CLASS is used for categorical variables in many procedures. BY is for grouping operations. VAR is the correct statement for variable selection in PRINT.