Native Johansen (1988, 1991) reduced-rank regression on a VECM with
K = max(k_ar_diff + 1, 2) lags in levels, an unrestricted
constant (ecdet = "none") and the long-run parameterisation.
Computed with rmorie's own code, which reproduces
urca::ca.jo(x, type = "trace", ecdet = "none", K = max(k_ar_diff
+ 1, 2)) (statistics, eigenvalues and normalised eigenvectors) to
rounding error; no external package is used. Critical values are the
Osterwald-Lenum (1992) table used by urca (available for up to 11
series).
Value
Named list with eigenvalues, trace_stat, crit_values,
rank, n, k, method. trace_stat and the rows of
crit_values (columns 10pct, 5pct, 1pct) are ordered as
in urca: H0 \(r \le k-1\) first, \(r = 0\) last; rank is
the number of trace statistics exceeding their 5 percent critical
value. The list carries an attribute "johansen" holding the
maximal-eigenvalue statistics (max_eigen_stat,
max_eigen_crit), the eigenvectors normalised on the first
variable (eigenvectors, urca's V) and unnormalised
(eigenvectors_raw, urca's Vorg), the loading matrix
W, PI, and the lag order K.
