Use ta=read.table(”TreeAgeDiamSugarMaple.txt”, header=T) to import the data set of diameter–age measurements for 27 sugar maple trees into the R data frame ta, and x=ta$Diamet; y=ta$Age to copy the...

1 answer below »



Use ta=read.table(”TreeAgeDiamSugarMaple.txt”, header=T) to import the data set of diameter–age measurements for 27 sugar maple trees into the R data frame ta, and x=ta$Diamet; y=ta$Age to copy the diameter and age values into the R objects x and y, respectively.


(a) Would you expect the diameter and age to be positively or negatively correlated? Explain your answer, and confirm it by doing a scatterplot of the data (plot(x,y)).


(b) Compute the sample covariance and linear correlation of diameter and age using R commands. On the basis of the scatterplot are you satisfied that linear correlation correctly captures the strength of the diameter–age dependence?




Answered Same DayDec 25, 2021

Answer To: Use ta=read.table(”TreeAgeDiamSugarMaple.txt”, header=T) to import the data set of diameter–age...

Robert answered on Dec 25 2021
116 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here