File: denmark.inp

package info (click to toggle)
gretl 2019a-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 53,708 kB
  • sloc: ansic: 367,137; sh: 4,416; makefile: 2,636; cpp: 2,499; xml: 580; perl: 364
file content (20 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Replication of some of the results on Danish macro
# data in S. Johansen, "Likelihood-Based Inference in
# Cointegrated Vector Auto-Regressive Models" (Oxford,
# 1995), chapter 7.

open denmark.gdt

# determination of the cointegration rank
coint2 2 LRM LRY IBO IDE --rc --seasonals

# estimation of the vector EC model
vecm 2 1 LRM LRY IBO IDE --rc --seasonals

# retrieve the cointegration vector and the loadings
matrix alpha = $jalpha
matrix beta = $jbeta
matrix Pi = alpha*beta'

print "Restricted long-run matrix"
Pi