Multiple choice technology programming languages

If you want to analyze mean value of the numeric variable Salary based on gender of a given organization then you will keep:

  1. Analysis Variable: Salary; Classification variable: Gender; Statistics: Mean

  2. Analysis Variable: Gender; Classification variable: Salary; Statistics: Mean

  3. Analysis Variable: Salary; Classification variable: Mean; Statistics: Salary

  4. Analysis Variable: Mean; Classification variable: Salary; Statistics: Mean

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

In PROC MEANS, the analysis variable (VAR) contains the numeric values to aggregate (Salary here), while the CLASS variable defines groups (Gender here). Statistics specified apply to the analysis variable within each classification group. Option A correctly places Salary as VAR and Gender as CLASS.