alrtest function

Likelihood ratio test for restrictions on alpha

Likelihood ratio test for restrictions on alpha

This function estimates a restricted VAR, where the restrictions are base upon α\bold{\alpha}, i.e. the loading vectors. The test statistic is distributed as χ2\chi^2 with r(pm)r(p-m) degrees of freedom, with mm equal to the columns of the restricting matrix A\bold{A}. latin1

alrtest(z, A, r)

Arguments

  • z: An object of class ca.jo.

  • A: The (p×m)(p \times m) matrix containing the restrictions on α\bold{\alpha}.

  • r: The count of cointegration relationships;

    inferred from summary(ca.jo-object).

Details

The orthogonal matrix to A\bold{A} can be accessed as object@B. The restricted α\bold{\alpha} matrix is normalised with respect to the first variable.

Returns

An object of class cajo.test.

References

Johansen, S. and Juselius, K. (1990), Maximum Likelihood Estimation and Inference on Cointegration -- with Applications to the Demand for Money, Oxford Bulletin of Economics and Statistics, 52, 2 , 169--210.

Johansen, S. (1991), Estimation and Hypothesis Testing of Cointegration Vectors in Gaussian Vector Autoregressive Models, Econometrica, Vol. 59, No. 6 , 1551--1580.

See Also

ca.jo, blrtest, ablrtest, cajo.test-class, ca.jo-class and urca-class.

Examples

data(denmark) sjd <- denmark[, c("LRM", "LRY", "IBO", "IDE")] sjd.vecm <- ca.jo(sjd, ecdet = "const", type="eigen", K=2, spec="longrun", season=4) DA <- matrix(c(1,0,0,0), c(4,1)) summary(alrtest(sjd.vecm, A=DA, r=1))

Author(s)

Bernhard Pfaff

  • Maintainer: Bernhard Pfaff
  • License: GPL (>= 2)
  • Last published: 2024-05-27

Useful links