You are on page 1of 3

迴歸分析 期中考

(ch1~ch4) 11/05/2019

一、(10%) (參考課本第 207 頁 exercise 4.40)半導體晶圓片的使用壽命與製造時的溫度


有關。以晶圓發生損毀的時間(failure time)為 Y,溫度(°C)為 X,迴歸分析結果如
下所示:

Y=154243.0000–1908.8504X+5.9290X 2
(s.e.) (21868.0000) (303.6636) (1.0476)
n=22
R2 =0.94
請檢定此模型是否需要溫度的平方項(X2)(請設立虛無假設、對立假設,並在 5%
顯著水準下進行雙尾檢定)。

二、(20%)工業產品在產製過程中品質易受到溫度及壓力之影響。下列迴歸式分析溫
度(X1,°F)與壓力(X2,psi)對產品品質(Y,品質係數)之影響程度。報表
中 X1sq 為 X12,X2sq 為 X22,X1X2 為 X1*X2。
Model: MODEL1
Dependent Variable: Y

Number of Observations Read 27


Number of Observations Used 27

Analysis of Variance

Sum of Mean
Source DF Squares Square F Value Pr > F

Model 5 8402.26454 1680.45291 596.32 <.0001


Error 21 59.17843 2.81802
Corrected Total 26 8461.44296

Root MSE 1.67870 R-Square 0.9930


Dependent Mean 66.96296 Adj R-Sq 0.9913
Coeff Var 2.50690

Parameter Estimates

Parameter Standard
Variable DF Estimate Error t Value Pr > |t|

Intercept 1 -5127.89907 110.29601 -46.49 <.0001


X1 1 31.09639 1.34441 23.13 <.0001
X2 1 139.74722 3.14005 44.50 <.0001
X1X2 1 -0.14550 0.00969 -15.01 <.0001
X1sq 1 -0.13339 0.00685 -19.46 <.0001
X2sq 1 -1.14422 0.02741 -41.74 <.0001
1
(1) 請問在平均溫度(X1 = 90)及平均壓力(X2 = 55)的情況下,若溫度(X1)上升
1°F 對產品品質(Y)之影響為何?

(2) 請參考下表之迴歸分析結果,在 5%顯著水準下檢定 X1 及 X2 之平方項


(X1sq 及 X2sq)是否具有共同顯著性。

Model: MODEL2
Dependent Variable: Y

Number of Observations Read 27


Number of Observations Used 27

Analysis of Variance

Sum of Mean
Source DF Squares Square F Value Pr > F

Model 3 2425.04194 808.34731 3.08 0.0475


Error 23 6036.40102 262.45222
Corrected Total 26 8461.44296

Root MSE 16.20038 R-Square 0.2866


Dependent Mean 66.96296 Adj R-Sq 0.1935
Coeff Var 24.19304

Parameter Estimates

Parameter Standard
Variable DF Estimate Error t Value Pr > |t|

Intercept 1 -614.13981 466.16828 -1.32 0.2007


X1 1 7.08639 5.15846 1.37 0.1828
X2 1 13.88278 8.45253 1.64 0.1141
X1X2 1 -0.14550 0.09353 -1.56 0.1335

三、(30%) (參課本第 114 頁 exercise 3.31)同理心(empathy)表示一個人可感受到他人的


感覺。一項實驗分析結果顯示,一個人在同理心量表上的得分(empathic_scale)愈
高,愈能感受到同伴的疼痛感(brain_activity)。

The REG Procedure


Model: MODEL1
Dependent Variable: brain_activity

Analysis of Variance

Sum of Mean
Source DF Squares Square F Value Pr > F

Model 1 0.23300 0.23300 9.09 0.0093


Error 14 0.35878 0.02563
Corrected Total 15 0.59178

2
Root MSE 0.16008 R-Square 0.3937
Dependent Mean 0.25875 Adj R-Sq 0.3504
Coeff Var 61.86828

Parameter Estimates

Parameter Standard
Variable DF Estimate Error t Value Pr > |t|

Intercept 1 -0.39249 0.21966 -1.79 0.0956


empathic_scale 1 0.03618 0.01200 3.02 0.0093

(1) 請計算斜率(β1)的 95%信賴區間。


(2) 請解釋 R2 之意涵。
(3) 請在 5%顯著水準下檢定斜率是否與 0.05 有統計顯著差異(請用雙尾檢定)。

四、(20%)簡答題
(1) 在簡單線性迴歸方程式(Y=β0+β1X+ε)中,當 β1 參數估計值之檢定結果與 0 無
顯著差異時,請問可能原因為何 (請列出 2 項原因) ?
(2) 請解釋為何當 X 與 Y 之間具有顯著的相關係數(correlation coefficient)時,並
不表示 X 與 Y 之間具有因果關係(causality)?

五、(20%)是非題。請回答正確或錯誤,不需解釋答案。
1. 當產生型 I 誤差(Type I error)時,是發生在拒絕正確的虛無假設時。
2. 在簡單線性迴歸方程式(y=β0+β1+ε)中,當殘差變異數(σ2)愈大,β1 估計值的
標準差亦會愈大。
3. 當進行 F 檢定時,其分子及分母的分配並不需要符合「常態性」假設。
4. 在簡單線性迴歸模型中,若不設立截距項(即為通過原點的迴歸式),其模型
自由度(d.f.)為(n-2)。

You might also like