How will you define the list of variables to be printed in the PRINT procedure?
-
Weight statement
-
Var statement
-
Class statement
-
By statement
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.