
New! 搜推文,找资料,用
lianxh
命令:
安装:ssc install lianxh, replace
使用:lianxh 合成控制
lianxh DID + 多期, w


连玉君 ( lianxh.cn )
读研究生的时候,就听周雨田老师说过这句描述协整精髓的名言:「协整就是:醉汉牵着一条狗 (A Drunk with his Dog)」。

今天又被学生问及协整,想起这句话,查了一下,居然源自一篇正式发表的论文:
Murray, Michael P. (1994). A Drunk and her Dog: An Illustration of Cointegration and Error Correction [PDF]. The American Statistician. 48 (1): 37–39. doi:10.1080/00031305.1994.10476017.
直观解释
-
两个不认识的醉汉 假设你看到两个醉汉在路上晃悠 (计量上称为两个随机游走序列,two random walks),二人彼此不识 (称为二者彼此独立,they're independent)。在这种情况下,二人的行进路径没有任何关系。
-
醉汉牵着他的狗 如果单独看醉汉或狗的行动轨迹,都是没有规律的(随机游走,random walk),但如果一起看,就会发现两个重要特征:(1) 二者之间的距离是有规律的——介于 0 和绳长之间,这是长期关系;(2) 短期来看,要关注的问题在于:到底是醉汉拉着狗,还是狗拉着醉汉。
-
引申:广州和北京的房价 单独看广州或北京的房价,似乎没有明确的规律。若放在一起看,会发现二者 缠缠绵绵到天边。二者的长期关系决定于中国的土地政策和财税政策。短期关系则需重点分析两个视角:
- 其一,是广州的房价牵制了北京的房价吗? 有些北漂实在无法忍受帝都的高房价了,选择跑到广州发展,导致广州房价小涨,间接拖住了北京房价上涨的脚步。
- 其二,还是广州房价跟着北京房价跑? 投资客们看到帝都房价猛涨,但由于各种限制,无法去掺乎,随即选择在广州投资房产,推高了广州的房价。
附:协整的发展历程
The first to introduce and analyse the concept of spurious—or nonsense—correlations was Udne Yule in 1926.[2]. Before the 1980s many economists used linear regressions on (de-trended[citation needed]
) non-stationary time series data, which Nobel laureate Clive Granger and Paul Newbold showed to be a dangerous approach that could produce spurious correlation,[3], [4], since standard detrending techniques can result in data that are still non-stationary.[5]. Granger's 1987 paper with Robert Engle formalized the cointegrating vector approach, and coined the term.[6]
参考资料:
- What is cointegration of time series data in statistics?
- Wikipedia-Cointegration
- The Stata Blog » Cointegration or spurious regression?
延伸阅读:
- Panel-data cointegration tests | New in Stata 15
- The Stata Blog » time series
- The Stata Blog » nonstationary
- The Stata Blog » Unit-root tests in Stata
- Stata 范例:Unit Roots and Cointegration - Econometrics at Illinois
- Cointegration – Johansen Test with Stata
最后,附上一张伟大的照片。

[(https://www.lianxh.cn/details/1543.html)
资源共享
- 连享会资料 ……
- 在线视频:lianxh-class.cn
- Stata 33 讲,100 万+ 播放,Stata 入门必备,公开课
- 直击面板数据模型,10 万+ 播放,白话面板模型,公开课
- … more …
- 论文复现和数据
- 主题分类
- 热门推文

尊敬的老师 / 亲爱的同学们:
连享会致力于不断优化和丰富课程内容,以确保每位学员都能获得最有价值的学习体验。为了更精准地满足您的学习需求,我们诚挚地邀请您参与到我们的课程规划中来。
请您在下面的问卷中,分享您 感兴趣的学习主题或您希望深入了解的知识领域 。您的每一条建议都是我们宝贵的资源,将直接影响到我们课程的改进和创新。
我们期待您的反馈,因为您的参与和支持是我们不断前进的动力。感谢您抽出宝贵时间,与我们共同塑造更加精彩的学习旅程!https://www.wjx.cn/vm/YgPfdsJ.aspx# 再次感谢大家宝贵的意见!

关于我们
- Stata连享会 由中山大学连玉君老师团队创办,定期分享实证分析经验。more……
- 扫码加入连享会微信群,提问交流更方便
