MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Problem with the Hannan Rissanen procedure

  • To: mathgroup at
  • Subject: [mg65553] Problem with the Hannan Rissanen procedure
  • From: "john.hawkin at" <john.hawkin at>
  • Date: Fri, 7 Apr 2006 06:14:31 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


I am doing time series research using mathematica, and I have come
across the following problem.  When I run the command

HannanRissanenEstimate[data, kmax, pmax, qmax, numModels]

on certain sets of data, I get the error message:

"Results for (op) of badly conditioned matrix (expr) may contain
significant numerical errors"

Where in this case op is "Inverse" and expr is my data.  In the help
file it says the following about this error message:

- Generated by a failure in the algorithm that is used in computing
numerical solutions of linear systems of equations.
- If you see this message in an example where it is not expected,
please contact Technical Support.

I don't believe there's any reason why the data I'm feeding in should
be problematic.  Data that will generate this error include the
following time series:

AR models (AR(1), AR(2) and AR(3) generate it regularly, I have not
tested others)
The occasional ARMA model, very infrequently
no MA models.

All the AR models tested were stationary and all MA models were
invertible, and all ARMA models were both.

Does anyone know why this happens, if I should be concerned, and how I
can fix it?


-John Hawkin

  • Prev by Date: Re: Permutations
  • Next by Date: Re: Count Function
  • Previous by thread: Re: Stationarity testing of data
  • Next by thread: Re: Problem with the Hannan Rissanen procedure