p_cfar | R Documentation |
Prediction of CFAR processes.
p_cfar(model, f, m = 3)
model |
CFAR model. |
f |
the functional time series data. |
m |
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.