Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. library(urca)
  2. data("UKpppuip")
  3. data = UKpppuip[,1:5] # n = 5.
  4. plot(ts(data))
  5. est = ca.jo(data, type = 'trace', K = 2, spec = "transitory", ecdet = "const")
  6. summary(est)
  7.  
  8. # Eigenvectors, normalised to first column:
  9. # (These are the cointegration relations)
  10. #
  11. # p1.l1 p2.l1 e12.l1 i1.l1 i2.l1
  12. # p1.l1 1.0000000 1.0000000 1.000000 1.0000000 1.0000000
  13. # p2.l1 -0.7416024 -0.9458357 -1.397222 -1.9840046 -1.3797522
  14. # e12.l1 -1.0345469 -2.1091638 -2.333572 0.6975493 -0.6373520
  15. # i1.l1 -2.9971374 -22.8591633 10.827331 -0.8242170 2.0956201
  16. # i2.l1 -2.8613965 10.4695052 -12.817530 1.7284994 0.6975215
  17. #
  18. # Weights W:
  19. # (This is the loading matrix)
  20. #
  21. # p1.l1 p2.l1 e12.l1 i1.l1 i2.l1
  22. # p1.d -0.066164427 -0.003506203 0.002625976 0.0006857297 -0.013125003
  23. # p2.d -0.083429841 0.007530168 0.008082641 0.0317811111 0.006745236
  24. # e12.d -0.003804601 0.032942284 0.019624465 -0.1025097997 -0.035013372
  25. # i1.d 0.004030585 0.012228142 -0.001300394 0.0133270315 -0.022664334
  26. # i2.d 0.050269357 -0.003983539 0.017150064 0.0452773744 -0.011868206
  27.  
  28. est@PI
  29. # p1.l1 p2.l1 e12.l1 i1.l1 i2.l1
  30. # p1.d -0.07948393 0.06546368 0.078561030 0.27881486 0.11098623
  31. # p2.d -0.02929068 -0.02890440 0.069438097 0.15337170 0.27360208
  32. # e12.d -0.08876102 0.19593347 -0.160529533 -0.51803397 -0.09737199
  33. # i1.d 0.00562103 -0.00790769 -0.003184998 -0.36416531 0.14038424
  34. # i2.d 0.09684505 -0.13092988 -0.044477555 0.06389597 -0.33538412
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement