Urca
Pfaff/Stigler Unit Root and Cointegration Analysis R package
Install / Use
/learn @bwlewis/UrcaREADME
urca
Pfaff/Stigler Unit Root and Cointegration Analysis R package
I recommend the companion book http://www.amazon.com/Analysis-Integrated-Cointegrated-Time-Series/dp/0387759662 that I know you will enjoy.
Warning
This is a work in progress...don't install this package (yet)! Use the one from CRAN. Unless that is, you want to help, then please have at it.
Intention
We're revising the package to enhance some of the numeric computations for stability and efficiency along the lines suggested by Doornik and O'Brien in their superb paper http://www.doornik.com/research/CointNum2_final.pdf.
Our variation will use a generalized SVD. Because Pfaff's package is so comprehensive at handling trends, constants, etc., there are quite a few details to work through but the basic idea looks solid.
We're starting with the ca.jo function first. Eventually, almost everywhere
you find the function solve in the source code will include new routines.
We intend to make the new code paths optional to make it easy to compare with the standard Johansen procedure.
Status
No code yet! But my notes are online and that was probably the hard part. See:
- https://github.com/bwlewis/urca/blob/master/notes-1.jpg
- https://github.com/bwlewis/urca/blob/master/notes-2.jpg
- https://github.com/bwlewis/urca/blob/master/notes-3.jpg
Code will follow soon I hope... I say that knowing that these changes are three years late already!
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
