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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started