50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


urca (version 1.3-3)

ablrtest: Likelihood ratio test for restrictions on alpha and beta

Description

This function estimates a restricted VAR, where the restrictions are based upon \boldα, i.e. the loading vectors and \boldβ, i.e the matrix of cointegration vectors. The test statistic is distributed as χ2 with (pm)r+(ps)r degrees of freedom, with m equal to the columns of the restricting matrix \boldA, s equal to the columns of the restricting matrix \boldH and p the order of the VAR.

Usage

ablrtest(z, H, A, r)

Value

An object of class cajo.test.

Arguments

z

An object of class ca.jo.

H

The (p×s) matrix containing the restrictions on \boldβ.

A

The (p×m) matrix containing the restrictions on \boldα.

r

The count of cointegrating relationships;
inferred from summary(ca.jo-object).

Author

Bernhard Pfaff

Details

The restricted \boldα matrix, as well as \boldβ is normalised with respect to the first variable.

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, alrtest, blrtest, cajo.test-class, ca.jo-class and urca-class.

Examples

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

Run the code above in your browser using DataLab