AR(p) of order 6 AutoRegression

10 vues (au cours des 30 derniers jours)
dangrewal
dangrewal le 16 Mar 2014
I am trying to write the following formula in matlab for autoregression: Yt = PYt-1 +...+ PYt-6 + Et (Et = random error defined as (0,1)) I know my weighted P values and I want the formula to be for order of 6. I'm new to Matlab and do have econometrics toolbox but unsure of how to write this properly, any help much appreciated.

Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 20 Mar 2014
Modifié(e) : Shashank Prasanna le 20 Mar 2014
mdl = arima('Constant',0.05,'AR',{0.1,0.2,0.3,0.4,-0.5,-0.6})
Assuming those are your PY values.
Please check the documentation for examples and other information:

Plus de réponses (0)

Catégories

En savoir plus sur Multivariate Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by