iformselect: Selection for iForm procedure

Description Usage Arguments Details Value Author(s)

View source: R/iForm.R

Description

This is a helper function to run the selection procedure under differen heredity principles and different levels of interactions included in the selection.

Usage

1
iformselect(x, y, p, n, C, S, bic, heredity, higher_order)

Arguments

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)

Details

Runs the iFORM selection procedure for specifed heredity and level of interactions. It returns the solution to be fit from iForm

Value

the response vector, the solution set of predictors and the calculated bic values

Author(s)

Kirk Gosik


kdgosik/iForm documentation built on May 23, 2019, 4:05 a.m.