Page 1 of 1

3. Consider the tree data set in R, trees. You can access the data by running data(trees) and then typing “trees” as you

Posted: Mon Jul 11, 2022 11:37 am
by answerhappygod
3 Consider The Tree Data Set In R Trees You Can Access The Data By Running Data Trees And Then Typing Trees As You 1
3 Consider The Tree Data Set In R Trees You Can Access The Data By Running Data Trees And Then Typing Trees As You 1 (420.02 KiB) Viewed 28 times
please help with d
3. Consider the tree data set in R, trees. You can access the data by running data(trees) and then typing “trees” as you would any other variable you've set. (a) Construct histograms and qqnorm plots for all three of the quantitative variables recorded on the 31 trees. For which of the three variables do we have the strongest evidence that the population of values may not be well approximated by a normal random variable? (b) Construct 97% t confidence intervals “by hand" for the Girth and Height data and explain why that is a reasonable approach. Summaries of the variables are given below and you should use an r function to find the relevant critical value for your margin of error. > mean (trees$Girth); sd(trees$Girth); length (trees$Girth) [1] 13.24839 [1] 3.138139 [1] 31 > mean(trees$Height); sd(trees$Height); length (trees$Height) [1] 76 [1] 6.371813 [1] 31 (c) Construct the same confidence intervals that you constructed in (b) above using the t.test() function in R. Confirm that you get very similar endpoints. (d) How would our process change if we wanted to construct and interpret 90% t CIs for Girth and Height? Compare it to the 97% t CIs constructed in (b).