Question: Please help with question S , a - d , with answers, R code and explanations Questien 5 The 0 zanoe data frame from the
Please help with question S ad with answers, R code and explanations
Questien
The zanoe data frame from the datasets package has rows and columns of records of the gowth of orange trees.
Tree an ondered factior indicating the tree on which the measurement is msde. The ordering is according to incressing masimam dismeber.
age a numentic vicior giving the age of the beve dirys sincu B
el reusfereace a numeric vecior of trunk cincumterences mm This is probably "cincumberence at bresot height", standard meseurement in foreoty.
Ueing headiorange we show the frot couple of observions and plot exicanference vs ape in the following col:
Wh run the ceil to rex the dats and the plat
headOrange
Parta
Ase, plot the residalab and normal plot for the reaiduale by rurning
pat abd which:
ebservition
Part b
What are the valuea of calimates and
Creste A numeric variables b and bl with corresponding uslues. Do NOT round the values.
Part ej
Part c
round your ansaerl Hint: Uee the command
prediet inod, datn. Erara age
for appropriately chosen replacement of the symbol
White your snewer as
ans csonething heres
Part d
Find the confisence interval for You can use the predictlunction with the format
predict inod, datw.Erare age datwOrange, interva confidence", Leve
and replace the two Eimbols with appropriale valuse.
Create variables and o which ase the lower and uppor end poims of the deraired imarval. Do NOT round your answers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
