sol4 - PSTAT 120C: Solutions for Assignment #4 May 15, 2006...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: PSTAT 120C: Solutions for Assignment #4 May 15, 2006 1. A plot of the data is in Figure 1. Figure 1: Plot of the original data. (a) The results of the linear regression for the original data is Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -21.858339 5.743089-3.806 0.0126 * Distance 0.164069 0.001343 122.210 6.96e-10 ***--- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Residual standard error: 12.14 on 5 degrees of freedom Multiple R-Squared: 0.9997, Adjusted R-squared: 0.9996 F-statistic: 1.494e+04 on 1 and 5 DF, p-value: 6.958e-10 The equation is Olympic Record =- 21 . 86 + 0 . 164 Distance 1 (b) The standard error for , s . d . ( ) = s e n q X x 2 i X x 2 i- n x 2 = 12 . 14324 7 r 128100000 81814286 = 5 . 74309 Therefore, the t statistic is t =- 21 . 86 5 . 74309 =- 3 . 806 which is larger than the = 0 . 025 critical value with 5 degrees of freedom t 5 ,. 025 = 2 . 57, and is therefore significantly less than 0. This is a result of the curvature in the model. The 0 point is too far away from the center of the data and the straight line estimate does not fit well there. (c) The computer output is Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept)-2.93671 0.09101-32.27 5.37e-07 *** Log Distance 1.12611 0.01305 86.32 3.95e-09 ***--- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Residual standard error: 0.05341 on 5 degrees of freedom Multiple R-Squared: 0.9993, Adjusted R-squared: 0.9992 F-statistic: 7451 on 1 and 5 DF, p-value: 3.954e-09 log Time =- 2 . 93671 + 1 . 12611 log Distance (d) The standard error for the 1 is 0.01305 so that the t statistic is t = 1- 1 s e / p ( x i- x ) 2 = 1 . 12611- 1 . 01305 = 9 . 663602 Therefore, this is a significant statistic (versus, again, t 5 ,. 025 = 2 . 57). (e) The best model is one using the log data, and the time goes up as a function Time = 0 . 053(Distance) 1 . 12 . The linear model does not fit the data as well especially around a distance of 0. 2. (a) The fitted model is Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 22.16269 7.08948 3.126 0.00556 ** Money Spent 0.36317 0.09712 3.739 0.00139 **--- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Residual standard error: 23.5 on 19 degrees of freedom Multiple R-Squared: 0.424, Adjusted R-squared: 0.3936 F-statistic: 13.98 on 1 and 19 DF,F-statistic: 13....
View Full Document

This note was uploaded on 04/09/2008 for the course PSTAT 120c taught by Professor Idk during the Spring '07 term at UCSB.

Page1 / 10

sol4 - PSTAT 120C: Solutions for Assignment #4 May 15, 2006...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online