Question 31
Domain 2: Data ProcessingA data analyst is reviewing a dataset and wants to compare relationships between variables. Which approach is appropriate when the analyst is comparing either two categorical features or two continuous features?
Correct answer: C
Explanation
Choose the comparison method based on the variable types being compared: use a method suited to two categorical features or a method suited to two continuous features. — official.txt
Why each option is right or wrong
A. Use the same comparison method regardless of whether the two features are categorical or continuous
The comparison method depends on whether the two features are categorical or continuous.
B. Use a comparison method designed for one categorical feature and one continuous feature
The stated task is to compare two categorical features or two continuous features.
C. Select the comparison method that matches the feature pair as either two categorical features or two continuous features
The source states to select and apply the correct comparison method when analyzing two categorical features or two continuous features. Because the analyst is comparing variables within one of those same-type pairs, the appropriate action is to choose the method that matches that pair type.
D. Avoid using a comparison method unless both features have the same values and scales
Comparison turns on feature type, not on identical values or identical scales.