Professional Documents
Culture Documents
迴歸分析109 (1) 期中考
迴歸分析109 (1) 期中考
(Ch.1~Ch.4) 11/04/2020
一、 (10%)一項調查結果顯示,國內家計單位主要採購者在傳統市場
(traditional markets)與在超市(supermarkets)購買豬肉的支出型態不同。
二、 (20%)分析大學生飲用咖啡的研究結果顯示咖啡支出受到飲用量及生活
費高低的影響。
The REG Procedure
Model: MODEL1
Dependent Variable: coffee_exp
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Pr > F
Parameter Estimates
Parameter Standard
Variable DF Estimate Error t Value Pr > |t|
Intercept 1 -96.79993 24.48664 -3.95 0.0001
gender 1 -12.73586 18.98330 -0.67 0.5030
brew 1 38.88485 3.28053 11.85 <.0001
can 1 19.47790 2.73451 7.12 <.0001
instant 1 3.71031 6.17787 0.60 0.5488
month_exp 1 0.00698 0.00298 2.34 0.0202
1
(1) 請解釋迴歸式中 R2 之意涵。
(2) 請在 5%顯著水準下檢定現煮咖啡(brew)之係數是否與 40 有所差異。
三、 (30%)某一速食連鎖店的漢堡銷售總金額、售價、與廣告支出的關係如
下所示:
The REG Procedure
Model: MODEL1
Dependent Variable: sales
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Pr > F
Parameter Estimates
Parameter Standard
Variable DF Estimate Error t Value Pr > |t|
2
四、 (30%)國內鮮乳市場中鮮乳的售價(p,元/公升)隨著季節而波動,下表
為利用季節虛擬變數分析鮮乳售價之結果。
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Pr > F
Model 3 291.04457 97.01486 18.65 <.0001
Error 29 150.81790 5.20062
Corrected Total 32 441.86247
Parameter Estimates
Parameter Standard
Variable DF Estimate Error t Value Pr > |t|
(1) 請問此虛擬變數的設計上是以那一季作為基礎(base)?
(2) 請檢定夏季(Summer)虛擬變數之係數在 5%顯著水準下是否與 0 有所差
異並解釋其意涵(雙尾檢定)。
(3) 請問夏季鮮乳售價與秋季鮮乳售價之差異為每公升多少元?
五、(10%)請以下列分析結果進行統計檢定及分析。
The REG Procedure
Model: MODEL1
Dependent Variable: price
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Pr > F
Model 1 709384 709384 49.05 <.0001
Error 1078 15591671 14464
Corrected Total 1079 16301055
Parameter Estimates
Parameter Standard
Variable DF Estimate Error t Value Pr > |t|
3
The REG Procedure
Model: MODEL2
Dependent Variable: price
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Pr > F
Model 3 932437 310812 21.76 <.0001
Error 1076 15368619 14283
Corrected Total 1079 16301055
Parameter Estimates
Parameter Standard
Variable DF Estimate Error t Value Pr > |t|
Intercept 1 195.59368 7.74485 25.25 <.0001
age 1 -2.58667 1.24202 -2.08 0.0375
age_sq 1 -0.00252 0.04747 -0.05 0.9577
age_cu 1 0.00039218 0.00046549 0.84 0.3997
price:房屋銷售價格(千美元,平均數為 154.86)
age:屋齡(年數,平均數為 19.57)
age_sq:屋齡變數的平方
age_cu:屋齡變數的三次方
(1) 請在 5%顯著水準下檢定房屋銷售價格與屋齡的迴歸模型中,age_sq 與
age_cu 之參數估計值是否同時為 0(需設立虛無假設與對立假設)。