Hi Mich
thanks for the link
I dont know if i can agree that for AR(p) is the sum all  the coeff.
the author of the paper made an assumption that error is independent of
variance, so sum of co-variances among terms are zero, and hence the formula
5.71

Why is AR(p) the sum of all coeff?

>From my own derivation
fe(n+1) = e(n+1)
fe(n+2) = a(1)e(n+1) + e(n+2);
fe(n+3) = a(1)^2.e(n+1) + a(1).e(n+2) + a(2)e(n+1) + e(n+3)
fe(n+4) = a(1)^3.e(n+1) + a(1)^2.e(n+2) + a(1)a(2)e(n+1) + a(1)e(n+3)+
a(2)a(1)e(n+1) + a(2)e(n+2)
        a(3)e(n+1) + e(n+4)

A bit too complicated after 4 steps forecast error.
But the variances for the 1st 4 steps don’t seem to the same as what you
have suggested.
Any thoughts
/Paul
________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Tom
Sent: Thursday, 7 December 2006 12:29 PM
To: [email protected]
Subject: RE: [amibroker-ts] confidence level asymptoe of Predicted AR



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
<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
<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/ <http://www.windowslivespaces.fr/> 

[Non-text portions of this message have been removed]



 

Send instant messages to your online friends http://au.messenger.yahoo.com 

Reply via email to