SF.DR | R Documentation |
Directional regression for sufficient forecasting
SF.DR(y, X, newX = NULL, K = "default", L = 1, etaopg = "default", nslices = 3)
y |
Response, T by 1 matrix |
X |
Predictors, p by T matrix |
newX |
New predictors, a vector contains p entries (or |
K |
The number of common factors (default = obtained
by |
L |
The number of predictive indices, L is required to be no greater than K (default = 1) |
etaopg |
hyperparameter in DR (default = obtained by |
nslices |
hyperparameter in DR (default = 3) |
Out-of-sample forecast for newX
; or in-sample forecast for the last
observed data point if newX
is NULL
Luo, W., Xue, L., Yao, J. and Yu, X. (2022), Inverse moment methods for sufficient forecasting using high-dimensional predictors, Biometrika 109(2), 473–487.
utils::data(dataExample,package = "sufficientForecasting") SF.DR(dataExample$y,dataExample$X,dataExample$newX)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.