Use the cheddar data from faraway package to answer the following question.
Thirty samples of cheddar cheese were analyzed for their content of acetic acid, hydrogen sulfide and lactice acide. Each sample was tasted and scored by a panel of judges and the average taste score produced.
(a) Compute the regression coefficients from the original fit using the QR decomposition showing your R code.
(b) Fit a regression model with taste as the response and the three chemical contents as predictors. Report the values of the regression coefficients.
(c) Compute the correlation between the fitted values and the response. Square it. Identify where this value appears in the regression output
(c) Fit the same regression model but without the intercept term. Report Rs. Find a more reasonable measure of the goodness-of-fit for this example.
Get Answers For Free
Most questions answered within 1 hours.