Question: b. Build the model using forward selection and produce a summary. ```{r results=hide} null=lm(Consumption~1,data=beer) FS = step(null,scope=list(upper=full),direction=forward) ```
b. Build the model using forward selection and produce a summary. ```{r results="hide"} null=lm(Consumption~1,data=beer) FS = step(null,scope=list(upper=full),direction="forward") ```
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
