s-news
[Top] [All Lists]

Re: AR(2) with regression variables

To: mtexeira@agro.uba.ar
Subject: Re: AR(2) with regression variables
From: "Henrik Aalborg Nielsen" <immhan@student.dtu.dk>
Date: Wed, 16 Jun 2004 09:27:17 +0200 (MEST)
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <1087328848.40cf5250493f9@webmail3.agro.uba.ar>
References: <1087328848.40cf5250493f9@webmail3.agro.uba.ar>
Models like y(t) = a + b*x(t) + AR(2)-error : arima.mle (xreg=cbind(1,x))

Models like y(t) = a0 + a1*y(t-1) + a2*y(t-2) + b*x(t) + i.i.d. gaussian
error : Set up the variables in a data frame and fit it with least squares
(e.g. by use of lm).

Regards,
Henrik

--------------------------------------------------------------------------
   Henrik Aalborg Nielsen
   Informatics and Mathematical Modelling
   Technical University of Denmark
--------------------------------------------------------------------------

On Tue, 15 Jun 2004 mtexeira@agro.uba.ar wrote:

> hi
>
> how can I fit an AR(2) model with a regression variable?
>
> Marcos Texeira
>
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu.  To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message:  unsubscribe s-news
>

<Prev in Thread] Current Thread [Next in Thread>