Skip to content
Back to formatted view

Raw Message

Message-ID: <BANLkTinoWQhVZDjXS9EPp+FzqHSwRA0TsQ@mail.gmail.com>
Date: 2011-04-04T15:16:46Z
From: Alison Callahan
Subject: simulating a VARXls model using dse
In-Reply-To: <6441154A9FF1CD4386AF4ABF141A056D2153E1EC@WMEXOSCD2-N1.bocad.bank-banque-canada.ca>

Hi Paul,

I am using R v. 2.12.2, and the "dse" package with build 2.12.2.

I have attached some sample data to this email, and the R code I use
to create the model and then forecast with it.

Thanks,

Alison

On Mon, Apr 4, 2011 at 11:02 AM, Paul Gilbert
<pgilbert at bank-banque-canada.ca> wrote:
> Could you please send me a reproducible example, and R and dse version info.
>
> Thanks,
> Paul
>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
>> project.org] On Behalf Of Alison Callahan
>> Sent: April 4, 2011 10:56 AM
>> To: r-help at r-project.org
>> Subject: [R] simulating a VARXls model using dse
>>
>> Hello,
>>
>> Using the dse package I have estimated a VAR model using estVARXls().
>> I can perform forecasts using forecast() with no problems, but when I
>> try to use simulate() with the same model, I get the following error:
>>
>> Error in diag(Cov, p) :
>> ? 'nrow' or 'ncol' cannot be specified when 'x' is a matrix
>>
>> Can anyone shed some light on the meaning of this error? How can I
>> simulate output using a model created with estVARXls()?
>>
>> Thanks,
>>
>> Alison
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-
>> guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> ====================================================================================
>
> La version fran?aise suit le texte anglais.
>
> ------------------------------------------------------------------------------------
>
> This email may contain privileged and/or confidential information, and the Bank of
> Canada does not waive any related rights. Any distribution, use, or copying of this
> email or the information it contains by other than the intended recipient is
> unauthorized. If you received this email in error please delete it immediately from
> your system and notify the sender promptly by email that you have done so.
>
> ------------------------------------------------------------------------------------
>
> Le pr?sent courriel peut contenir de l'information privil?gi?e ou confidentielle.
> La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
> utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
> personne autre que le ou les destinataires d?sign?s est interdite. Si vous recevez
> ce courriel par erreur, veuillez le supprimer imm?diatement et envoyer sans d?lai ?
> l'exp?diteur un message ?lectronique pour l'aviser que vous avez ?limin? de votre
> ordinateur toute copie du courriel re?u.
>