Skip to contents

Custom IC functions for stepwise models

Usage

EBIC(...)

# S3 method for default
EBIC(fit, varnames, pen_info, gammafn = NULL, return_df = TRUE, ...)

RBIC(fit, ...)

# S3 method for default
RBIC(fit, varnames, pen_info, gammafn = NULL, return_df = TRUE, ...)

RAIC(fit, ...)

# S3 method for default
RAIC(fit, varnames, pen_info, gammafn = NULL, return_df = TRUE, ...)

Arguments

...

additional args

fit

a fitted object

varnames

names of variables

pen_info

penalty information

gammafn

What to use for gamma in formula

return_df

should the deg. freedom be returned

Value

A vector of values for the criterion requested, and the degrees of freedom (appended to front of vector) if return_df == TRUE.