powered by
VAR.est(x, p, type = "const")
#replicating Section 3.2.3 of of Lutkepohl (2005) data(dat) M=VAR.est(dat,p=2,type="const") print(M$coef) print(M$tratio)
Run the code above in your browser using DataLab