Print

Print


Dear Jurgen,
Thank you very much for your help. After trial and error, I can run
FORECAST, but not like what you suggested below, but:

object.Forecast(12, 1, TRUE, TRUE, TRUE);
(where object is the appropriate variable name).

But, I still seek out what const iFoInitial is for. When I put "0" for the
const iFoIntial, then the Ox won't show the forecast result. But when I put
"1" or >1 then forecast numbers started to come out.

Does somebody know what iFoInitial represents in MSVAR.130? Thank you again.

Best regards,
Pepi

----- Original Message -----
From: "Jurgen Doornik" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, May 13, 2005 4:58 PM
Subject: Re: MsvarFor, MsvecmFor, Forecast


> This could be a documentation error.
> I had a quick look in msvar130.h, where it says:
>
> Forecast(const h, const iFoInitial, const fFoTable, const fFoGraph,
> const fFoCum);
>
> So 5 arguments are expected, perhaps something like
>
>         object.Forecast(12, 0, TRUE, TRUE, TRUE);
>
> (where object is the appropriate variable name).
>
> But I didn't try to find out what the iFoInitial argument is.
>
> However, the others seem to have the same argument list as reported.
>
> Best wishes, Jurgen.
>
> oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
> oxoxoxox 3rd OxMetrics user conference August 2005
> oxoxoxox Cass Business School, London
> oxoxoxox 17 August (afternoon) - 18 August (morning)
> oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
> Dr Jurgen A Doornik
> Nuffield College, Oxford OX1 1NF, UK
> tel. UK: +44-1865-278610    fax  +44-1865-278621
> http://www.doornik.com
> http://www.oxmetrics.net
> oxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxoxox
>
>
> Gabriel Rodriguez wrote:
> > Dear Ox-User,
> >
> > I have the same problem as Pepi Hardiyanto presented in his email.
> > Please, do you have an answer to this?
> >
> > Gabriel
> >
> > Pepi Hardiyanto wrote:
> >
> >> Dear Ox-Users,
> >>
> >> I have been trying to write this commpand lines for forecast, without
any
> >> success:
> >>
> >> Forecast(const h, const fFoTable, const fFoGraph, const fFoCum);
> >>
> >> MsvarFor(const mY, const fModel, const cM, const vProb,
> >>         const mMu, const mA, const mTrans, const max_h);
> >>
> >> MsvecmFor(const mY, const fModel, const cM, const vProb,
> >>          const mMu, const mAlpha, const mBeta, mGamma, const pmA,
> >>          const vDelta, const mTrans, const cT, const max_h);
> >>
> >> Would somebody help me? I just need to know what I must type down so
> >> as to
> >> make these works with Ox Professional? I have been trying various ways
in
> >> replacing the place of "const h", "const fFoTable", etc.. and always
got
> >> this message:
> >>
> >> Runtime error: 'Forecast' wrong number of arguments
> >> Runtime error occurred in main(48), call trace:
> >>
> >> Thank you very much.
> >>
> >> Best regards,
> >> Pepi
> >>
> >>
> >
>