Question: Use R studio to solve this problem From Assignment 2 Problem 4(c) , variables CGDUR, MEM and SOCIALSU are consistently selected as the best predictors.
Use R studio to solve this problem
From Assignment 2 Problem 4(c), variables CGDUR, MEM and SOCIALSU are consistently selected as the best predictors.
KBI=read.csv("https://raw.githubusercontent.com/DanikaLipman/DATA603/main/KBI.csv", header = TRUE) model=lm(BURDEN~(CGDUR+ MEM +SOCIALSU) , data=KBI) summary(model)interactionmodel=lm(BURDEN~(CGDUR+ MEM +SOCIALSU)^2 , data=KBI) summary(interactionmodel) Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
