Question: For this question, let us use a dataset that is already stored in R. To see the data set, simply type the command Loblolly .
For this question, let us use a dataset that is already stored in R. To see the data set, simply type the command Loblolly. Use data(Loblolly) to load the data into R console. Answer the following questions:
(a) Graph a scatter plot of the data using age and height. For this plot, use age as a predictor variable and the height as a response variable.
(b) a scatter plot of the data with the linear regression line.Again, use age as a predictor variable and the height as a response variable. Display the outputs of (a) and (b) side by side.
(c) Give the correlation of age and height.
(d) Use the linear model to predict the age of a Loblolly that is 12 feet tall.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
