Spring 2019 - STA 463 Homework 4 Due: March 20th (Wednesday), before class Please include your name on the first page of your homework, clearly mark the question numbers. Please include the R code and necessary output in your homework for programming questions. Any plot asked should be plotted using ggplot2. Do not hand write your code/output. Hand in a hard copy and please staple all the pages. 1. (10pt) KNNL Exercise 2.10. 2. (15pt) KNNL Exercise 2.56. 3. (20pt) KNNL Exercise 2.16. 4. (20pt) KNNL Exercise 2.26. 5. (20pt) Refer to the Plastic Hardness data in exercise 1.22, Please do not use use lm() to answer the following questions. (a) Calculate the three quantities SXX , SXY and SY Y using R. (b) Calculate b0 and b1 using R. (c) Calculate the three sum of squares SST , SSE and SSR using R. (d) Calculate Residual standard error and its degrees of freedom using R. (e) Calculate R-squared using R. (f) Calculate F-statistic value related with ANOVA using R. (g) Calculate s{b0 } and s{b1 } using R. (h) Calculate t-values of hypothesis tests β0 = 0 and β1 = 0 respectively using R. 1