powered by
Prediction of CFAR processes.
p_cfar(model, f, m = 3)
CFAR model.
the functional time series data.
the forecast horizon.
The function returns a prediction of the CFAR process.
Liu, X., Xiao, H., and Chen, R. (2016) Convolutional autoregressive models for functional time series. Journal of Econometrics, 194, 263-282.
# NOT RUN { 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