Description Usage Arguments Value
View source: R/regress_select.R
Performs backwards selection of model parameters. Removes parameter with greatest p-value above "prem" threshold. P-values are calculated using Ordinary Least Squares (no weighting option).
1 | back_select(formula, data, prem = 0.1)
|
formula |
Model formula using specified columns of DataFrame 'data'. Can include interactions and select no intercept with -1. |
data |
Dataframe from which model variables are pulled. |
prem |
Threshold at which a parameter will be removed from the model if it has the highest p-value above the threshold. The default value is .1. |
Dataframe of coefficients, estimate standard errors, test statistics, and p-values for parameters remaining in the model following backwards selection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.