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 15 15 39 41 20 30 46 42 21 40 17 38 13 26 49 26 height(m): 10.2 13.5 16.3 10.8 8.9 10.0 14.2 11.3 9.7 11.4 13.5 13.6 11.6 11.2 7.7 13.1 7.9 10.4 15.6 9.0 Read the data into R. (a) Calculate the following using R: ̄x , ̄y , SSx, SSy. (Note that to get SSy or SSx, you can just ask R for the variance (var) 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 H0, H1, α, your decision, etc.) (c) Give the equation of the least squares line
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 15 15 39 41 20 30 46 42 21 40 17 38 13 26 49 26
height(m): 10.2 13.5 16.3 10.8 8.9 10.0 14.2 11.3 9.7 11.4 13.5 13.6 11.6 11.2 7.7 13.1 7.9 10.4 15.6 9.0
Read the data into R.
(a) Calculate the following using R: ̄x , ̄y , SSx, SSy. (Note that to get SSy or SSx, you can just ask R for the variance (var) 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 H0, H1, α, your decision, etc.)
(c) Give the equation of the least squares line
Trending now
This is a popular solution!
Step by step
Solved in 2 steps