• 沒有找到結果。

附錄表 A 為羅吉斯迴歸模型表

附錄表 A-1 呈現的為各變數的個數(N)和邊際比例(Marginal Percentage)。

附錄表 A-2 為模型配適度檢定,其 p-value 極小為顯著,知此模型合適。

附錄表 A-3 為三種計算 R 平方值的方法: Cox&Snell 方法、 Nagelkerke 方法 和 McFadden 方法,其值愈高表示模型解釋能力愈好。檢定結果 Cox&Snell R 平 方值為 0.347,Nagelkerke R 平方值為 0.469 以及 McFadden R 平方值為 0.317。

附錄表 A-4 為訓練集羅吉斯模型各變數的估計值(parameter estimates), 在模 式中,類別變數一般會先轉換虛擬變數,若該類別有 K 個分類,則需要 k-1 個虛 擬變數。

(註:附錄表 A-4 的第一欄為變數,第二欄為對應的 logistic 迴歸係數β,第三欄是標準誤,

第四欄為 wald 檢定值,第五欄則是自由度,第六欄則是顯著水準,第七欄為勝算比(adds ratio),

某自變數的勝算比代表當保持其他自變數不變時,該自變數變動一單位對應變數的勝算改變量,

第八欄則是勝算比的信賴區間上下限,舉例來說第二列 99 年購買 A1 個數的勝算比為 0.866 表示,

當 99 年購買 A1 的個數增加 1 單位,100 年會購買 D3 的勝算會增加 0.866 倍,其勝算區間為 (0.459 ,1.633)。)

Case Processing Summary

N Marginal Percentage

Case Processing Summary

N Marginal Percentage

a. The dependent variable has only one value observed in 341 (98.0%) subpopulations.

附錄表 A-1

Model Fitting Information

Model

Model Fitting Criteria Likelihood Ratio Tests -2 Log Likelihood Chi-Square df Sig.

Model Fitting Information

Model

Model Fitting Criteria Likelihood Ratio Tests -2 Log Likelihood Chi-Square df Sig.

Intercept Only 508.520 Final 343.417 165.103 31 .000

附錄表 A-2 Pseudo R-Square Cox and Snell .347

Nagelkerke .469 McFadden .317

附錄表 A-3 Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B)

Lower

Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B)

Lower

Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B)

Lower

a. The reference category is: F.

b. This parameter is set to zero because it is redundant.

c. Floating point overflow occurred while computing this statistic. Its value is therefore set to system missing.

附錄表 A-4

附錄表 A-7 顯示檢定結果 Cox&Snell R 平方值為 0.319,Nagelkerke R 平方值 為 0.429 以及 McFadden R 平方值為 0.282。

Case Processing Summary

N Marginal Percentage

100 年有無買 D3

F 153 42.0%

T 211 58.0%

地區 1.0 141 38.7%

Case Processing Summary

N Marginal Percentage

a. The dependent variable has only one value observed in 260 (94.2%) subpopulations.

附錄表 A-5

Model Fitting Information

Model

Model Fitting Criteria Likelihood Ratio Tests -2 Log Likelihood Chi-Square df Sig.

Intercept Only 439.994 Final 300.185 139.809 22 .000

附錄表 A-6 Pseudo R-Square

Nagelkerke .429 McFadden .282

附錄表 A-7 Parameter Estimates 100 年

有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B)

Lower Bound Upper Bound

T

Parameter Estimates 100 年

有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B)

Lower Bound Upper Bound

=4.000]

=5.000] 18.176 .000 . 1 . 78290604.801 78290604.801 78290604.801 [職業

a. The reference category is: F.

b. This parameter is set to zero because it is redundant.

附錄表 A-8

附錄表 A-11 顯示檢定結果 Cox&Snell R 平方值為 0.410,Nagelkerke R 平方值 為 0.592 以及 McFadden R 平方值為 0.447。

Case Processing Summary

N Marginal Percentage

100 年有無買 D3

F 96 27.8%

T 249 72.2%

Case Processing Summary

N Marginal Percentage

Case Processing Summary

N Marginal Percentage

a. The dependent variable has only one value observed in 342 (99.7%) subpopulations.

附錄表 A-9

Model Fitting Information

Model

Model Fitting Criteria Likelihood Ratio Tests -2 Log Likelihood Chi-Square df Sig.

Intercept Only 406.613 Final 224.320 182.293 38 .000

附錄表 A-10 Pseudo R-Square Cox and Snell .410

Nagelkerke .592 McFadden .447

附錄表 A-11 Parameter Estimates 100 年

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound

T

Parameter Estimates 100 年

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound 99 年 E1 -.527 .160 10.924 1 .001 .590 .432 .807

Parameter Estimates 100 年

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound [職業

a. The reference category is: F.

b. This parameter is set to zero because it is redundant.

Parameter Estimates 100 年

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound c. Floating point overflow occurred while computing this statistic. Its value is therefore set to system missing.

附錄表 A-12

附錄表 A-15 顯示檢定結果 Cox&Snell R 平方值為 0.405,Nagelkerke R 平方值 為 0.584 以及 McFadden R 平方值為 0.439。

Case Processing Summary

N Marginal Percentage

Case Processing Summary

N Marginal Percentage

a. The dependent variable has only one value observed in 341 (99.7%) subpopulations.

附錄表 A-13

Model Fitting Information

Model

Model Fitting Criteria Likelihood Ratio Tests -2 Log Likelihood Chi-Square df Sig.

Intercept Only 406.613 Final 227.521 179.092 33 .000

附錄表 A-14 Pseudo R-Square Cox and Snell .405

Nagelkerke .584 McFadden .439

附錄表 A-15 Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound

T

Intercept 1.853 1.269 2.133 1 .144

98 年 A1 -1.415 .473 8.953 1 .003 .243 .096 .614 98 年 B1 -2.553 .642 15.812 1 .000 .078 .022 .274

Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound 98 年 D1 .597 .599 .992 1 .319 1.816 .561 5.874

Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound

=4.000]

‧ 國

立 政 治 大 學

N a tio na

l C h engchi U ni ve rs it y

66

Parameter Estimates

100 年 有無買 D3(a)

B Std.

Error Wald df Sig. Exp(B)

95% Confidence Interval for Exp(B) Lower

Bound Upper Bound 年期]

[年齡=缺

失值] 0(b) . . 0 . . . .

a. The reference category is: F.

b. This parameter is set to zero because it is redundant.

c. Floating point overflow occurred while computing this statistic. Its value is therefore set to system missing.

附錄表 A-16

‧ 國

立 政 治 大 學

N a tio na

l C h engchi U ni ve rs it y

67

相關文件