Question: Help with #7 please. R studio codes please 6) You investigate the relationship between height and dbh (diameter at breast height) of oak trees You
Help with #7 please. R studio codes please

6) You investigate the relationship between height and dbh (diameter at breast height) of oak trees You get the following results: dbh(cm): 26 49 52 32 1515 39 41 20 30 46 42 21 40 17 38 13 25 49 26 height(m): 10.2 13.5 115.3 10.0 0.9 10.0 14.2 11.3 9.7 11.4 13513.11 11.6 112 1.7 13.1 1.9 10.4 15.6 9.0 Read the data into R. (a) Calculate the following using R: It ,\\ y, 55., 53,. (Note that to get SS, or S5}, you can just ask R for the variance (va r) or standard deviation, and then do the appropriate calculation). (b) Perform a complete test of the hypothesis that there is no difference in height as dbh increases. Write out all the appropriate steps of a regular hypothesis test (give H9, H1, at, your decision. etc.) (1:) Give the equation of the least squares line (Write it out, (1011'! just hand in a printout!!) 7) Finally do the following: (a) create a. residual plot for the analysis you did in (6) and comment on it (is it okay or do you see any problems?) (b) create a q-q plot ofthe residuals and comment on it. I (c) Write down the value of R2, and interpet it (do not use \"adjusted" .R'). Be prepared to discuss these problems in recitation Monday, July 22"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
