Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: lags in arima

From   "Engelmann, Bjoern" <>
To   "Stata List (E-mail)" <>
Subject   st: lags in arima
Date   Wed, 3 May 2006 14:03:39 +0200

I want to fit automatically different types of arima-models to some data.
How do I get the correct variables into the lag Parameter arguments of

I've already tried something like

  scalar lags="2 6"
  arima ts, ar(`lags')

but stata simply ignores my variable and fits an arima(0,0) model.

Somehow I would need to have a variable with a numlist stored in it, but I
don't know how to create such a variable.

Björn Engelmann 
Dresdner Bank AG 
RG&C / Liquidity Risk Control 
Jürgen-Ponto Platz 1, 21. OG 
60301 Frankfurt a.M. 
phone: ++49 / 69 / 263-12975 
fax: ++49 / 69 / 263-18874 

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index