Sufficient Forecasting using Factor Models

The sufficient forecasting (SF) method is implemented by this package for a single time series forecasting using many predictors and a possibly nonlinear forecasting function. Assuming that the predictors are driven by some latent factors, the SF first conducts factor analysis and then performs sufficient dimension reduction on the estimated factors to derive predictive indices for forecasting. The package implements several dimension reduction approaches, including principal components (PC), sliced inverse regression (SIR), and directional regression (DR). Methods for dimension reduction are as described in: Fan, J., Xue, L. and Yao, J. (2017) , Luo, W., Xue, L., Yao, J. and Yu, X. (2022) and Yu, X., Yao, J. and Xue, L. (2022) .


sufficientForecasting

Overview

The goal of sufficientForecasting is to forecast a single time series when there is a large number of predictors and a possible nonlinear effect.

Installation

You can install the development version of sufficientForecasting like so:

# The easiest way to install sufficientForecasting
install.packages("sufficientForecasting")
# OR
devtools::install_github("JingFu1224/sufficientForecasting")

Usage

The following example uses SF.CI to solve a problem: forecast a single time series, and its upper bound and lower bound

library(sufficientForecasting)
## basic example code
SF.CI(y=dataExample$y,X=dataExample$X,newX=dataExample$newX,type="LLM",alpha = 0.05)
#>     yhat ci_lower ci_upper 
#>  -0.3568  -2.4740   1.6076

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sufficientForecasting")

0.1.0 by Jing Fu, 4 years ago


https://github.com/JingFu1224/sufficientForecasting


Report a bug at https://github.com/JingFu1224/sufficientForecasting/issues


Browse source code at https://github.com/cran/sufficientForecasting


Authors: Jianqing Fan [aut] , Jing Fu [aut, cre] , Wei Luo [aut] , Lingzhou Xue [aut] , Jiawei Yao [aut] , Xiufan Yu [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports gam, stats

Suggests knitr, rmarkdown


See at CRAN