Re: [R] Cointegration no constant

From: Pfaff, Bernhard Dr. <>
Date: Thu, 20 Mar 2008 10:43:59 +0000

>I am trying to estimate a VECM without constant using the
>following code:
>sjf <- finland
>sjf.reg<, type = c("eigen"), ecdet = c("none"), K =
>2,spec=c("transitory"), season = NULL, dumvar = NULL)
>While the cointegration test does not use a constant, it is
>used in the cajools which I do not want. I am sure I am doing
>something wrong - what should I change?

Hello Ralph,

are you really sure that you do want to include a constant in cajools? If so, this can be swiftly accomplished by:

sjf.reg_at_Z1 <- sjf.reg_at_Z1[, -1]

i.e., you drop the constant from the slot Z1 (have a look at cajools to see how the regression are set up). You might want consider using cajorls, too.


>Any help very much appreciated!
>Need to know the score, the latest news, or you need your
>Hotmail(r)-get your "fix".
> mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

Confidentiality Note: The information contained in this ...{{dropped:10}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 20 Mar 2008 - 10:50:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 20 Mar 2008 - 11:30:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive