get_ic: Find optimal number of factors in a factor model.

Description Usage Arguments Details Value Examples

View source: R/get_ic.R

Description

create_inventory constructs the Eigenvalue Ratio Test and Growth Ratio Test according to Ahn, Horenstein (2013), page 1207

Usage

1

Arguments

Xmat

A data set containing all the time series.

Details

The function calculates the principal components of the data set. It creates a screeplot of the principal components. Further, it calculates the optimal number of factors of the factor model according to the Eigenvalue Ratio Test and Growth Ratio Test of Ahn, Horenstein (2013), page 1207. The maximam number of factors is set to 10.

Value

A List:

Examples

1
IC <- get_ic(Xmat)

h4sci/packagr documentation built on Jan. 7, 2021, 10:40 p.m.