Hi ! Just finish to code confidence intervals for AR prediction.
I posted code as a remarks in the AFL library : http://www.amibroker.com/library/detail.php?id=764 I find this paper and my work is based on it : http://www.tnet.teagasc.ie/fapri/downloads/rochemanual/mrochech5.pdf Page 176 and 177 Maths explaination is given for AR(1). I think for AR(p), there is to sum all the coeffs, so that is what i did in my code. sum(coeff) < 1 so the confidence intervals converge to the unconditionned variance. should be ok. if you take just the first coef (like AR(1)) convergence is not assume because first coeff can be 2... but the sum will always be <1. I take the student t-distribution for infinite number of freedom degree : 1.96. Maybe 2 will be better... users can modify this in the code or code a student t-distribution table so it adapts to the degree of freedom (deg_freedom = nb_sample - nb_coeff). i join a picture to illustrate CI Cheers, Mich _________________________________________________________________ Windows Live Spaces : créez votre Space à votre image ! http://www.windowslivespaces.fr/ [Non-text portions of this message have been removed]
