A data scientist runs PROC HPLOGISTIC on a binary outcome in SAS. Which statement correctly sets the reference level for a CLASS variable named 'Region' to 'West'?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — a is correct because the SAS syntax for specifying a reference level within a CLASS statement uses the REF= option in parentheses immediately after the variable name: CLASS Region (REF='West'). B has incorrect syntax — the REFERENCE option is not a valid slash option.
Full explanation below image
Full Explanation
A is correct because the SAS syntax for specifying a reference level within a CLASS statement uses the REF= option in parentheses immediately after the variable name: CLASS Region (REF='West'). B has incorrect syntax — the REFERENCE option is not a valid slash option. C uses the wrong option name (REFERENCE instead of REF). D, while syntactically plausible for PARAM=EFFECT, uses REF= correctly but combined with an unnecessary PARAM= that changes parameterization; A is the minimal correct answer.