1. 案例定位

以 Titanic Dataset 示範 SAS Visual Analytics(SAS VA)的 Binary Logistic Regression。

2. 學習目標

能設定 Response Event、Predictors,並解讀 Fit Summary。

3. 案例情境

以 Survived/Perished 為 Binary Outcome,類比 Customer Stay/Leave、Loan Good/Bad、Employee Stay/Leave 等商業問題。

4. 開始資料

項目 原書設定/結果
Response Event Survived
Categorical Predictors Embarked、Pclass、Sex
Continuous Predictors Age、Fare、Parch、SibSp
Observations 1,311
Pseudo R²(畫面) 33.87%

5. 分析方法

在 SAS VA 指定 Survived 為 Event,加入七個 Predictors,再查看 Fit Summary、Assessment、Residual Plot 與 Influence Plot。

6. 計算結果

原書指出 Sex、Pclass、Age、SibSp、Embarked 在 p<0.05 下 Significant;Fare、Parch 不顯著。

7. 結果分析與管理解讀

將 Event 從 Perished 改為 Survived 主要會反轉 Parameter Estimate Signs;原書視此為 Communication/Framing 選擇。

8. AI Prompt

請依我提供的 SAS VA Fit Summary,把 Significant 與 Non-significant Predictors 分開,並避免把 Statistical Significance 解讀成 Causation。

9. 思考/What-if

若改預測 Perished,模型本質是否改變?

參考解答: 原書指出不會 materially affect model,主要是 Parameter Signs 反轉與表達框架改變。

10. 資料說明