楼主: monstersivle
2068 1

[编程问题求助] 如何制作此表(已提供:文献和数据集)已解prtest [推广有奖]

已卖:66份资源

博士生

7%

还不是VIP/贵宾

-

威望
0
论坛币
364 个
通用积分
241.0046
学术水平
40 点
热心指数
51 点
信用等级
22 点
经验
3550 点
帖子
215
精华
0
在线时间
187 小时
注册时间
2012-10-29
最后登录
2016-7-23

楼主
monstersivle 发表于 2013-6-18 02:52:16 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
分类应为:制表问题求助 tab1-bertrand and mullainathan 2004.jpg
参:文献: bertrand-mullainathan-2004 - are emily and greg employable than lakisha and jama.pdf (764.7 KB) 数据集 sept04_data_bertrand.zip (118.97 KB) 本附件包括:
  • lakisha_aer.dta

“Table1 tabulates average callback rates by racial soundingness of names. Included inbrackets under each rate is the number of resumes sent in that cell. Row 1presents our results for the full data set.

Resumeswith white names have a 9.65 percent chance of receiving a callback. Equivalentresumes with African-American names have a 6.45 percent chance of being calledback. This represents a difference in callback rates of 3.2 percentage points,or 50 percent, that can solely be attributed to the name manipulation. Column 4shows that this difference is statistically significant[1]. Put in other words, theseresults imply that a White applicant should expect on average one callback forevery 10 ads she or he applies to; on the other hand, and African-Americanapplicant would need to apply to about 15 different ads to achieve the sameresult.”



[1] Thesestatistical tests assume independence of callbacks. We have, however, verifiedthat the results stay significant when we assume that the callbacks arecorrelated either at the employer or first-name level.



此表初衷并非做描述统计量(比率、差异),实为比率检测proportion test, 具体点儿是,two sample proportion test for binary variable (here, the variable - call)

核心代码:
prtest varname if [..], by(groupvar)

另外,有个疑问:
如果有很多if条件,想编入个local宏,然后在循环里一个个代如,如何编辑这个local,那个引号老是不会加。
二维码

扫码加我 拉你入群

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

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

关键词:prtest test prt Est 数据集 如何

tab1-bertrand and mullainathan 2004.jpg (90.64 KB)

tab1-bertrand and mullainathan 2004.jpg

不爱其亲而爱他人者,谓之悖德;不敬其亲而敬他人者,谓之悖礼。——《孝经》

沙发
ermutuxia 发表于 2015-1-8 12:44:42
local aaa "cc dd ee"
foreach a of local aaa{

}
已有 1 人评分论坛币 热心指数 收起 理由
SpencerMeng + 10 + 1 好的意见建议

总评分: 论坛币 + 10  热心指数 + 1   查看全部评分

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-4 21:02