This function performs the first step of a hierarchical forward stepwise regression. If an interaction or quadratic term is entered first, the parent main effects are also entered into the model.
input - this is a data frame containing a single numeric column of response data.
input - this is a data frame containing the numeric columns of the candidate independent variables.
returned vector of terms entered in the model at this step.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.