Description Usage Arguments Details Value Author(s)
This is a helper function to run the selection procedure under differen heredity principles and different levels of interactions included in the selection.
1 | iformselect(x, y, p, n, C, S, bic, heredity, higher_order)
|
x |
data.frame of your data with all p predictors |
y |
vector of observed responses |
p |
number of predictors in the dataset |
n |
number of observations in the dataset |
C |
vector of candidate predictors to consider in this step of the procedure |
S |
vector of solution predictor selected from previous steps of the procedure |
bic |
vector of bic values calculated for each step of the procedure |
heredity |
a string specifying the heredity to be considered. NULL, weak, strong |
higher_order |
logical TRUE indicating to include order-3 interactions in the search (default FALSE) |
Runs the iFORM selection procedure for specifed heredity and level of interactions.
It returns the solution to be fit from iForm
the response vector, the solution set of predictors and the calculated bic values
Kirk Gosik
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.