全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
813 0
2020-12-22
求助。连玉君老师的事件研究法 中构造的t统计量为什么是这样的呢?不懂啊?<br>
sort id date
<br>
by id: egen ar_sd = sd(abnormal_return) /*超常回报率的标准差*/
<br>
gen test_id =(1/sqrt(5))*(CAR_id /ar_sd) /*检验统计量 t 值*/
<br>
接下来,我们可以进一步计算出 test id 对应的 p 值:
<br>
gen pvalue = normal(test_id) /*假设服从正态分布*/
<br>
replace pvalue = 1 - pvalue if test_id>0
<br>
replace pvalue = pvalue*2 /*双尾检定*/
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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