stepwise | R Documentation |
Copied and edited from: https://msu.edu/~rubin/code/stepwise_demo.nb.html
stepwise( out_var, ind_var, pe = 0.01, pr = 0.05, data = NULL, model = "logistic" )
out_var |
the outcome variable |
ind_var |
the independent variables to consider |
pe |
the significance level above which a variable may enter the model |
pr |
the significance level below which a variable may be deleted from the model |
data |
the data frame to use |
model |
the model that needs to be performed ("logistic" or "linear") |
the final model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.