倾向得分匹配分析Propensity score matching
使用命令如下
psmatch2 x a b c d e f, out(y) neighbor(1)
结果显示:
There are observations with identical propensity score values.
The sort order of the data could affect your results.
Make sure that the sort order is random before calling psmatch2.
不知什么原因导致以上情况。请指教。谢谢。
第二个问题,我的数据是8年上市公司数据,10,000个观察值。x为0 或1。 70%的观察值为0,7%的观察值为1,8年区间内同公司内无变化。23%的x的观察值同公司8年区间内有变化。在这种情况下,使用倾向得分匹配分析命令,在全样本下使用 (x为1的观察值占总样本数的15%),还是只适用于x 8年区间内同公司无变化的观察值。两种结果不一样。