# mostly-harmless-replication
**Repository Path**: anmin2014/mostly-harmless-replication
## Basic Information
- **Project Name**: mostly-harmless-replication
- **Description**: Replication of tables and figures from "Mostly Harmless Econometrics" in Stata, R, Python and Julia.
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 162
- **Created**: 2020-05-16
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
> ##### 视频集锦:[论文精讲与重现](https://lianxh.duanshu.com/#/brief/course/c3f79a0395a84d2f868d3502c348eafc) | [实证研究设计](https://mp.weixin.qq.com/s/NGwsr92_Vr1DGRbVqDVQIA) | [空间计量](https://efves.duanshu.com/#/brief/course/ed1bc8fc5e7748c5aca7e2c39d28e20e) | [动态面板模型](https://efves.duanshu.com/#/brief/course/3c3ac06108594577a6e3112323d93f3e) | [直击面板数据模型-Free](https://lianxh.duanshu.com/#/brief/course/7d1d3266e07d424dbeb3926170835b38)
> ##### 导航: 📍 [连享会主页](https://www.lianxh.cn) | 📍 [知乎专栏](https://www.zhihu.com/people/arlionn/) | 📍 [直播课](http://lianxh.duanshu.com)
**MHE!MHE!** 这是一本写给实证分析前线勇士的书。
「[_Mostly Harmless Econometrics_](http://www.mostlyharmlesseconometrics.com/);安格里斯特, 皮施克. 基本无害的计量经济学: 实证研究者指南 / (美) 安格里斯特, (美) 皮施克著 ; 郎金焕, 李井奎译.[M]. 2012.」一书各章的实现过程。
对照一下同样的任务同时用四种不同的软件或语言来写,是学习 Python 和 Stata 的绝佳资料。
### 书评
> “Finally – An econometrics book for practitioners! Not only for students, Mostly Harmless Econometricsis a fantastic resource for anyone who does empirical work.”
— Sandra Black, UCLA
> “This is a remarkable book–it does the profession a great service by taking knowledge that is usually acquired over many years and distilling it in such a succinct manner.”
— Amitabh Chandra, Harvard Kennedy School of Government
> “MHE is a fantastic book that should be read cover-to-cover by any young applied micro economist. The book provides an excellent mix of statistical detail, econometric intuition and practical instruction. The topic coverage includes the bulk of econometric tools used in the vast majority of applied microeconomics. I wish there was an econometric textbook this well done when I was in graduate school.”
— Bill Evans, University of Notre Dame
----
# Mostly Harmless Replication

## Synopsis
A bold attempt to replicate the tables and figures from the book [_Mostly Harmless Econometrics_](http://www.mostlyharmlesseconometrics.com/) in the following languages:
* Stata
* R
* Python
* Julia
## Chapters
1. Questions about _Questions_
2. The Experimental Ideal
3. [Making Regression Make Sense](03%20Making%20Regression%20Make%20Sense/03%20Making%20Regression%20Make%20Sense.md)
4. [Instrumental Variables in Action](04%20Instrumental%20Variables%20in%20Action/04%20Instrumental%20Variables%20in%20Action.md)
5. [Parallel Worlds](05%20Fixed%20Effects%2C%20DD%20and%20Panel%20Data/05%20Fixed%20Effects%2C%20DD%20and%20Panel%20Data.md)
6. [Getting a Little Jumpy](06%20Getting%20a%20Little%20Jumpy/06%20Getting%20a%20Little%20Jumpy.md)
7. [Quantile Regression](07%20Quantile%20Regression/07%20Quantile%20Regression.md)
8. [Nonstandard Standard Error Issues](08%20Nonstandard%20Standard%20Error%20Issues/08%20Nonstanard%20Standard%20Error%20Issues.md)
## Getting started
Check out [Getting Started](https://github.com/vikjam/mostly-harmless-replication/wiki/Getting-started) in the Wiki for tips on setting up your machine with each of these languages.
## Contributions
Feel free to submit [pull requests](https://github.com/blog/1943-how-to-write-the-perfect-pull-request)!
> **连享会-直播课** 上线了!
>
> **免费公开课:**
> - [直击面板数据模型](https://lianxh.duanshu.com/#/brief/course/7d1d3266e07d424dbeb3926170835b38) - 连玉君,时长:1小时40分钟
> - [Stata 33 讲](https://lianxh.duanshu.com/#/brief/course/b22b17ee02c24015ae759478697df2a0) - 连玉君, 每讲 15 分钟.
> - 部分直播课 [课程资料下载](https://gitee.com/arlionn/Live) (PPT,dofiles等)
---
## 课程一览
> #### NEW, 2020年5月29-31日
> 主讲嘉宾:连玉君 | 鲁晓东 | 张宁
> [课程主页](https://www.lianxh.cn/news/a94e5f6b8df01.html),[微信版](https://mp.weixin.qq.com/s/zRotMGebIQqaMih8B71fdg),[码云版](https://gitee.com/arlionn/TE),[PDF版](https://quqi.gblhgk.com/s/880197/g3ne5HdXdrSoo8iL)

> 支持回看,所有课程可以随时购买观看。
| 专题 | 嘉宾 | 直播/回看视频 |
| --- | --- | --- |
| **[效率分析专题](https://gitee.com/arlionn/TE)** | 连玉君
鲁晓东
张 宁 | [视频-TFP-SFA-DEA](https://www.lianxh.cn/news/88426b2faeea8.html)
2020.5.29-31, 热招中 |
| **文本/爬虫** | 游万海
司继春 | [视频-文本分析与爬虫](https://www.lianxh.cn/news/88426b2faeea8.html)
已上线,可随时购买 |
| **分位数回归** | 游万海 | [视频,2小时,88元](https://lianxh.duanshu.com/#/brief/course/f0bfb3102ada48969966c92123a7ebf0) |
| **[空间计量系列](https://lianxh.duanshu.com/#/brief/course/958fd224da8548e1ba7ff0740b536143)** | 范巧 | [空间全局模型](https://efves.duanshu.com/#/brief/course/ed1bc8fc5e7748c5aca7e2c39d28e20e), [空间权重矩阵](https://lianxh.duanshu.com/#/brief/course/94a5361647384a18852d28d1b9246362)
[空间动态面板](https://lianxh.duanshu.com/#/brief/course/f4e4b6b1e77c4ff88cecb685bbde07c3), [空间DID](https://lianxh.duanshu.com/#/brief/course/ff7dc9e0b82b40dab2047af0d01e96d0) |
| 论文重现 | 连玉君 | [经典论文精讲](https://lianxh.duanshu.com/#/brief/course/c3f79a0395a84d2f868d3502c348eafc),[-课程资料-](https://gitee.com/arlionn/Paper101), [-幻灯片-](https://quqi.com/s/880197/nz9LvbzzEEpWBNrD) |
| 研究设计 | 连玉君 | [我的特斯拉-实证研究设计](https://lianxh.duanshu.com/#/course/5ae82756cc1b478c872a63cbca4f0a5e),[-幻灯片-](https://gitee.com/arlionn/Live/tree/master/%E6%88%91%E7%9A%84%E7%89%B9%E6%96%AF%E6%8B%89-%E5%AE%9E%E8%AF%81%E7%A0%94%E7%A9%B6%E8%AE%BE%E8%AE%A1-%E8%BF%9E%E7%8E%89%E5%90%9B)|
| 面板模型 | 连玉君 | [动态面板模型](https://efves.duanshu.com/#/brief/course/3c3ac06108594577a6e3112323d93f3e),[-幻灯片-](https://quqi.gblhgk.com/s/880197/o7tDK5tHd0YOlYJl) |
| | | [直击面板数据模型](https://lianxh.duanshu.com/#/brief/course/7d1d3266e07d424dbeb3926170835b38) [免费公开课,2小时] |
| 大数据 | 李兵 | [经济学中的大数据应用](https://lianxh.duanshu.com/#/brief/course/da1a75bc3acc4e238f489af3367efa26) |
| R 语言 | 游万海 | [R 语言初识](https://lianxh.duanshu.com/#/brief/course/a719037536de4812a630a599f8cd7b43), 9.9元
| Python+Github | 司继春 | [Python和Github入门](https://lianxh.duanshu.com/#/brief/course/132a12b2e5ef45b795bfa897c037a6f4)
2小时, 9.9元
> Note: 部分课程的资料,PPT 等可以前往 [连享会-直播课](https://gitee.com/arlionn/Live) 主页查看,下载。
---
>#### 关于我们
- **Stata连享会** 由中山大学连玉君老师团队创办,定期分享实证分析经验。[直播间](http://lianxh.duanshu.com) 有很多视频课程,可以随时观看。
- **你的颈椎还好吗?** 您将 [::连享会-主页::](https://www.lianxh.cn) 和 [::连享会-知乎专栏::](https://www.zhihu.com/people/arlionn/) 收藏起来,以便随时在电脑上查看往期推文。
- **公众号推文分类:** [计量专题](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=4&sn=0c34b12da7762c5cabc5527fa5a1ff7b) | [分类推文](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=2&sn=07017b31da626e2beab0332f5aa5f9e2) | [资源工具](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=3&sn=10c2cf37e172289644f03a4c3b5bd506)。推文分成 **内生性** | **空间计量** | **时序面板** | **结果输出** | **交乘调节** 五类,主流方法介绍一目了然:DID, RDD, IV, GMM, FE, Probit 等。
- **公众号关键词搜索/回复** 功能已经上线。大家可以在公众号左下角点击键盘图标,输入简要关键词,以便快速呈现历史推文,获取工具软件和数据下载。常见关键词:
- `课程, 直播, 视频, 客服, 模型设定, 研究设计, `
- `stata, plus,Profile, 手册, SJ, 外部命令, profile, mata, 绘图, 编程, 数据, 可视化`
- `DID,RDD, PSM,IV,DID, DDD, 合成控制法,内生性, 事件研究`
- `交乘, 平方项, 缺失值, 离群值, 缩尾, R2, 乱码, 结果`
- `Probit, Logit, tobit, MLE, GMM, DEA, Bootstrap, bs, MC, TFP`
- `面板, 直击面板数据, 动态面板, VAR, 生存分析, 分位数`
- `空间, 空间计量, 连老师, 直播, 爬虫, 文本, 正则, python`
- `Markdown, Markdown幻灯片, marp, 工具, 软件, Sai2, gInk, Annotator, 手写批注`
- `盈余管理, 特斯拉, 甲壳虫, 论文重现`
- `易懂教程, 码云, 教程, 知乎`
---

> 扫码加入连享会微信群,提问交流更方便
