Skip to contents

Custom IC functions for stepwise models

Usage

EBIC(...)

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

RBIC(fit, ...)

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

RAIC(fit, ...)

# Default S3 method
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.