subject
Engineering, 14.04.2020 21:23 hannahbannana98

HW10: Use the R program code below to generate all possible and stepwise selection procedures on the 6 predictors provided in the lmod statement. Submit the following output and summary into Canvas. generated output (graphic output is not needed)a short paragraph discussing the model you would choose

library(faraway) #this command brings in a library of regression functions#install. packages("olsrr") #install olsrr if package has not been installed on your computerlibrary(olsrr)data(fat, package="faraway")#Can we predict body fat using only easy-to-record measurements?#use the variables specified in this modellmod <- lm(brozek ~ weight + neck + chest + abdom + hip + thigh, data=fat)ols_step_all_possible(lmod )ols_step_forward_p(lmod, details=TRUE)ols_step_backward_p(lm od, details=TRUE)ols_step_both_p(lmod, details=TRUE)

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Ariver flows from north to south at 8 km/h. a boat is to cross this river from west to east at a speed of 20 km/h (speed of the boat with respect to the earth/ground). at what angle (in degrees) must the boat be pointed upstream such that it will proceed directly across the river (hint: find the speed of the boat with respect to water/river)? a 288 b. 21.8 c. 326 d. 30.2
Answers: 3
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
You know the right answer?
HW10: Use the R program code below to generate all possible and stepwise selection procedures on the...
Questions