In R studio, get the data named trees by type: data(trees).
Use the variable Volume in data trees, calculate its
i. mean,
ii. median,
iii. 35th percentile,
iv. 95 - 5 percentile range,
v. coefficient of variation.
(b) Calculate the Pearson’s correlation coefficient of Girth and Height.
(c) Fit the least squares regression line that will enable prediction of Height using Girth. What is the intercept estimate?
(d) Estimate the volume if Girth is 15.
(e) Calculate the coefficient of determination (give your answer as a decimal number).
(f) Calculate the residual when Girth is 12 which is the 15th data point.
In R studio, get the data named trees by type: data(trees). Use the variable Volume in data trees, calculate its i. mean
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am