Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.

# Re: st: Nonlinear ARMAX model

 From Tirthankar Chakravarty To statalist@hsphsun2.harvard.edu Subject Re: st: Nonlinear ARMAX model Date Tue, 9 Mar 2010 23:13:23 +0530

```I don't think you can specify MA terms like you seem to want in your
1st email (you will need to approximate it using AR terms) and I am
not sure what [AR(1)=b2] means; here I will simply assume that it is
the coefficient on the AR(1) term. If not, please let me know. Here is
how the rest of the example from your 2nd email would be reproduced in
Stata:
************************
webuse friedman2, clear
g lcons = log(consump)
nl (lcons = {b0} + m2^{b1} + {b2}*L.lcons  ) ///
if !missing(L.lcons, m2), vce(robust)
************************

T

2010/3/9 Sebastian van Baal <s.vanbaal@arcor.de>:
> Small mistake: In Eviews, I would enter something like
>
> y[t]=b0+x[t]^b1+[AR(1)=b2]
>
> and not
>
> y[t]=b0+x[t]^b1+u[t]+[AR(1)=b2]
>
> like I wrote before.
>
> Sebastian
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

--
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```