全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
38898 30
2013-10-30
悬赏 200 个论坛币 已解决
(1)请问大家,我第一步使用logit计算完倾向得分后,我有五个协变量不显著,四个协变量显著。在下一步匹配时,我是用四个显著的协变量进行匹配还是9个协变量全部放进去进行匹配?我用的命令是psmatch2具体命令如下:
logit policy a b c d e f g h i 根据policy将数据分为对照组和实验组,其余a至i是用于匹配的协变量,stata结果显示a b c d显著,其余不显著。
下一步要开始进行核匹配了,问题就是我是将显著的放进去匹配还是全部放进去匹配?

(2)同志们,再追加一个问题啊!psmatch2命令如何 进行平衡性检验?我原来是使用pscore命令的,stata会自动进行平衡性检验,结果会说Balance is satisfied。但是现在我改用psmatch2的命令,然后不知道怎么检验平衡性?是输入命令然后stata自动显示
Balance is satisfied?还是输入什么命令,然后看某些指标然后自己判断?

最佳答案

luhmann 查看完整内容

* 倾向分匹配 * 假定y是因变量 * 个案的随机排序 gen tmp = runiform() sort tmp * 匹配方法:nearest neighbor matching within caliper psmatch2 policy a b c d e f g h i , logit neighbor(1) common caliper(.05) ties * 检验两者的平衡性 pstest a b c d e f g h i * 剔除不显著的变量 psmatch2 policy a b c d , logit neighbor(1) common caliper(.05) ties pstest a b c d * 或 pscore命令来检验平衡性 ...
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-10-30 12:48:18
* 倾向分匹配
* 假定y是因变量

* 个案的随机排序
gen tmp = runiform()
sort tmp

* 匹配方法:nearest neighbor matching within caliper
psmatch2 policy a b c d e f g h i , logit neighbor(1) common caliper(.05) ties
* 检验两者的平衡性
pstest a b c d e f g h i
* 剔除不显著的变量
psmatch2 policy a b c d , logit neighbor(1) common caliper(.05) ties
pstest a b c d
* 或 pscore命令来检验平衡性
pscore policy a b c d , pscore(newpscore) logit

* 估计policy对因变量y的效应
psmatch2 policy a b c d, outcome(y) logit neighbor(1) common caliper(.05)

* 平衡性的图示
psgraph
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-10-30 13:30:56
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-11-1 11:51:20
顶一个!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-11-2 04:07:30
1) The logistic regression used for estimation of propensity score is "different" (has special characteristics) from ordinary logistic regression:
        a. Don’t care about the predictive ability of model
        b. Don’t  care about collinearity of covariates
        c. Theoretically, your should select all variables related to your treatment assignment (in your cases, policy) and your outcome
        c. Just care about whether it results in balanced matched samples

In your case, at this time, I would include all your 9 covariates (if you believe all of them are related to treatment assignment and especially your outcome) in the logistic model, then test the matched sample balance

2)By the way, if you use psmatch2, you don't have to use a separate logistic regression model to get the propensity score (although you can). You can integrate propensity score production and ATT estimation into psmatch2 like:

psmatch2 policy a b c d e f g h i, outcome(pollution) logit    //assume pollution is your outcome variable

3) Use  pstest to check your matched sample balance after pamatch2 like:

pstest, both

Good luck
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-11-2 12:56:20
luhmann 发表于 2013-10-30 12:48
* 倾向分匹配
* 假定y是因变量
谢谢您的回答!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群