y standard error of the estimateSEE Coefficients Estimate

  • Slides: 31
Download presentation

估計y的條件標準差, standard error of the estimate(SEE)

估計y的條件標準差, standard error of the estimate(SEE)

交通 具與手機費用 Coefficients: Estimate S. E. t Pr(>|t|) (Intercept) 978. 42 46. 47 21.

交通 具與手機費用 Coefficients: Estimate S. E. t Pr(>|t|) (Intercept) 978. 42 46. 47 21. 06 <. 01 trans. n -240. 55 20. 50 -11. 73 <. 01 l Residual standard error: 194. 5 on 269 degrees of freedom

交通 具與手機費用 sse<-sqrt(sum(m 1$residuals^2)/269) diff. x<-trans. n-mean(trans. n) se. b<-sse/sqrt(sum(diff. x^2)) se. b 20.

交通 具與手機費用 sse<-sqrt(sum(m 1$residuals^2)/269) diff. x<-trans. n-mean(trans. n) se. b<-sse/sqrt(sum(diff. x^2)) se. b 20. 5026

原始模型及去掉特殊值模型 Coef. (Intercept) BUSHvote Estimate Std. Error t value 45. 2899 54. 4794 0.

原始模型及去掉特殊值模型 Coef. (Intercept) BUSHvote Estimate Std. Error t value 45. 2899 54. 4794 0. 831 4. 9168 0. 7644 6. 432 Pr(>|t|) 0. 409 1. 73 e-08 *** Estimate Std. Error t value Pr(>|t|) 65. 5735 17. 3304 3. 784 0. 000343 *** 3. 4819 0. 2501 13. 923 < 2 e-16 ***

預測值 觀察值 預測值 差 Bush 152846 796(原始 迴歸線) = 3407 -796 = 2610 Buchanan

預測值 觀察值 預測值 差 Bush 152846 796(原始 迴歸線) = 3407 -796 = 2610 Buchanan 3407 597(去掉 Palm Beach) = 3407 -597 = 2809