Question: Using RStudio In the MASS package, youll find the data frame cats, which provides data on sex, body weight (in kilograms), and heart weight (in
Using RStudio In the MASS package, youll find the data frame cats, which provides data on sex, body weight (in kilograms), and heart weight (in grams) for 144 household cats. You can load the MASS package with a call to library("MASS"), and access the object directly by entering cats at the console prompt. 1. Fit a least-squares multiple linear regression model using heart weight as the response variable and the other two variables as predictors, and view a model summary.Write down the equation for the fitted model and interpret the estimated regression coefficients for body weight and sex. Are both statistically significant? What does this say about the relationship between the response and predictors? 2. Tilmans cat, Sigma, is a 3.4 kg female. Use your model to estimate her mean heart weigh
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
