SF.CI | R Documentation |
Conformal inference of the sufficient forecasting
SF.CI( y, X, newX = NULL, type = "LM", K = "default", L = 1, alpha = 0.1, discretization = TRUE, nslices = 10 )
y |
Response, T by 1 matrix |
X |
Predictors, p by T matrix |
newX |
New predictors, a vector contains p entries (or |
type |
|
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) |
alpha |
Mis-coverage rate |
discretization |
Hyperparameter in SIR (default = |
nslices |
Hyperparameter in SIR (default = 10) |
A list with components
Out-of-sample forecast for newX
; or in-sample forecast
for the last observed data point if newX
is NULL
Lower bound of conformal interval
Upper bound of conformal interval
Yu, X., Yao, J. and Xue, L. (2022), Nonparametric estimation and conformal inference of the sufficient forecasting with a diverging number of factors, Journal of Business & Economic Statistics 40(1), 342–354.
utils::data(dataExample,package = "sufficientForecasting") SF.CI(dataExample$y,dataExample$X,type = "LM",alpha = 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.