In PROC HPLOGISTIC, which option generates a score dataset with predicted probabilities for each new observation?
Select an answer to reveal the explanation.
Short Explanation
You score new observations in PROC HPLOGISTIC with a SCORE statement, using DATA= to point to the new data and OUT= to write the scored dataset. That scored dataset includes predicted probabilities and class assignments for each new observation.
Full Explanation
The SCORE DATA=newdata OUT=scored; option is correct because PROC HPLOGISTIC supports a SCORE statement with DATA= to specify new data and OUT= to specify the output dataset containing predicted probabilities and class assignments. The OUTPUT OUT=scored P=pred_prob; option writes predictions for the training data to an output dataset, but it does not score new data. The claim that PROC HPLOGISTIC does not support scoring and that you must use PROC LOGISTIC SCORE instead is wrong because PROC HPLOGISTIC does support scoring via the SCORE statement. The PREDICT OUT=scored PROB=pred_prob; option uses PREDICT syntax that is not valid in PROC HPLOGISTIC.