powered by
Prediction of CFAR processes.
p_cfar(model, f, m = 3)
The function returns a prediction of the CFAR process.
CFAR model.
the functional time series data.
the forecast horizon.
Liu, X., Xiao, H., and Chen, R. (2016) Convolutional autoregressive models for functional time series. Journal of Econometrics, 194, 263-282.
phi_func= function(x) { return(dnorm(x,mean=0,sd=0.1)) } y=g_cfar1(100,5,phi_func) f_grid=y$cfar index=seq(1,1001,by=50) f=f_grid[,index] est=est_cfar(f,1) pred=p_cfar(est,f,1)
Run the code above in your browser using DataLab