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
>>
>>
>
|