Learn R Programming

REFA (version 0.2.0)

est_num: Estimating Factor Numbers Corresponding PCA

Description

Estimating Factor Numbers Corresponding PCA

Usage

est_num(X, kmax = 8, type = "BIC3")

Value

The estimated factor numbers.

Arguments

X

Input matrix, of dimension \(T\times N\). Each row is an observation with \(N\) features at time point \(t\).

kmax

The user-supplied maximum factor numbers.

type

The method used. Options include "PC1", "PC2", "PC3", "IC1", "IC2", "IC3", "AIC3", "BIC3", "ER", "GR".

Author

Jiaqi Hu

Examples

Run this code
# \donttest{
dat = gendata()
est_num(dat$Y, kmax = 8, type = "BIC3")
# }

Run the code above in your browser using DataLab