In a small scale experimental study of the relationship between degree of brand liking (Y) and moisture content (X₁) and sweetness of the product, (X₂), the results in data set brand.txt were obtained from the experiment based on a completely randomized design (the data are coded).
Solve the below parts for this question using R-Markdown
(a) Identify any outlying Y observations. Use the Bonferroni outlier test procedure with a 1. State
decision rule and conclusion.
(b) Obtain the diagonal elements of the hat matrix, and provide an explanation for the pattern in these elements. Identify any high leverage points. If any, are they good or bad?
(c) Identify the largest absolute studentized residual. Assess the influence of this case. What do you conclude?