AR(1) parameters estimation with constant term

I'm trying to get the AR(1) parameters of a times serie Y, but I'm a bit confused because I think if I use the matlab function ar(Y,1) the resulting model seems not to include the constant term. For example, I'd like to get the parameters for something like Y(t)=C+B*X(t-1)+Et, with C as a constant term and Et as a Gaussian noise, however the resulting model using the matlab function ar(Y,1) is something like A(q)y(t)=Et. So, how could I get the constant term C from that?.
I'd really appreciate somebody who can help me.

답변 (1개)

ignacio rios
ignacio rios 2012년 12월 20일

0 개 추천

I've the same question =S

카테고리

도움말 센터File Exchange에서 Dynamic System Models에 대해 자세히 알아보기

질문:

2012년 4월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by