AR model with drift and deterministic trend

14 ビュー (過去 30 日間)
Alberto
Alberto 2020 年 12 月 8 日
I would like to estimate an AR model with drift and deterministic trend. For example: yt=c+δt+β1yt−1+β2yt−2, where c is the drift coefficient and δ the deterministic trend coefficient.
I was already able to estimate and AR model with drift:
model_drift = arima('ARLags',1:2);
model_drift = estimate(model_drift,series_gdp,'Display','off');
summarize(model_drift);
but I don't know how to include a deterministic trend.

回答 (0 件)

カテゴリ

Help Center および File ExchangeConditional Mean Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by