楼主: liangwubo8
6647 6

[回归分析求助] RD回归(断点回归)显示不出结果? [推广有奖]

  • 0关注
  • 0粉丝

大专生

66%

还不是VIP/贵宾

-

威望
0
论坛币
3107 个
通用积分
0
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
242 点
帖子
5
精华
0
在线时间
112 小时
注册时间
2006-3-27
最后登录
2024-4-10

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
题主今天打算用RD回归研究一下南北方城市空气质量的差别,我用的命令是
rd avaqi north distance,z0(0) mbw(50 100 200)
avaqi是地级市空气质量均值,north是处理变量,distance代笔地级城市到南北回归线的距离,在分界线以北距离取正值,此时north取值为1,在分界线以南距离取负值且north为0,我回归出来的结果是这样子的,
rd aqiav north juli ,z0 str mbw(50 100 200) GR B OX
Three variables specified; jump in treatment  
at Z=0 will be estimated. Local Wald Estimate
is the ratio of jump in outcome to jump in treatment.
Assignment variable Z is juli
Treatment variable X_T is north
Outcome variable y is aqiav
no observations
我觉得是因为距离变量以米为单位太大了,于是把该变量除以100000,重新回归,结果就变成了这个样子
. rd aqiav north juli2 ,z0(0) str mbw(50 100 200) GR B OX
Three variables specified; jump in treatment  
at Z=0 will be estimated. Local Wald Estimate
is the ratio of jump in outcome to jump in treatment.
Assignment variable Z is juli2
Treatment variable X_T is north
Outcome variable y is aqiav
(196 missing values generated)
(196 missing values generated)
(196 missing values generated)
Estimating for bandwidth 3.62935727502711
A predicted value of treatment at cutoff lies outside feasible range;
switching to local mean smoothing for treatment discontinuity.
score variables for model __00000P contain missing values
不死心的我drop掉缺失值,结果变成这样子
. rd aqiav north juli2 ,z0(0) str mbw(50 100 200) GR B OX
Three variables specified; jump in treatment  
at Z=0 will be estimated. Local Wald Estimate
is the ratio of jump in outcome to jump in treatment.
Assignment variable Z is juli2
Treatment variable X_T is north
Outcome variable y is aqiav
(82 missing values generated)
(82 missing values generated)
(82 missing values generated)
Estimating for bandwidth 3.629357275027114
score variables for model __00000P contain missing values
r(322);
求问大神这个错误提示是代表什么意思呢?
我不懂模型是哪里设定错误了,小博士第一篇论文,还望大伙多多帮忙,感激不尽!
二维码

扫码加我 拉你入群

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

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

关键词:断点回归 observations observation assignment Estimating specified distance 北回归线 分界线 断点

沙发
njxxgcdx 发表于 2016-4-29 01:42:56 来自手机 |只看作者 |坛友微信交流群
liangwubo8 发表于 2016-4-24 21:32
题主今天打算用RD回归研究一下南北方城市空气质量的差别,我用的命令是
rd avaqi north distance,z0(0) ...
我qq1390169394,帮你看看

使用道具

藤椅
布头 发表于 2016-10-24 15:57:31 |只看作者 |坛友微信交流群
求问,我也一直是no observations

使用道具

板凳
miss23you 发表于 2021-2-3 12:50:13 |只看作者 |坛友微信交流群
请问问题解决了吗?我也遇到了相同的问题

使用道具

报纸
15055082301 学生认证  发表于 2021-7-2 20:30:53 |只看作者 |坛友微信交流群
请问解决了嘛,

使用道具

地板
2016103324 发表于 2022-4-21 15:12:50 |只看作者 |坛友微信交流群
您好呀 我遇到了同样的问题 请问您解决了吗

使用道具

2016103324 发表于 2022-4-21 15:12
您好呀 我遇到了同样的问题 请问您解决了吗
您好,请问您现在解决了吗?我也遇到了同样的问题。

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-17 23:07