请查看附件中的命令文件,读博士时写的,有些粗糙,但1楼中提到的几篇文章都是用这个程序完成的 Bootstrap 组间差异检验。希望对各位有所帮助。
使用方法:解压后放置于 stata11\ado\b\b 文件夹下。
输入 help bdiff 查看帮助文件。
------------------------------------bdiff.ado 帮助文件----------------------------------------
----------------------------------------------------------------------------------------
help for bdiff version1.1
----------------------------------------------------------------------------------------
Bootstrap test for coffiecients difference
bdiff depvar varlist , truediff(numlist) n1(#) [ bs(#) seed(#) ]
Description
bdiff is used to test the coeffiecents between groups using boostrap. The
procedure is following the steps of Cleary(1999,JF), 连玉君和程建(2006),
连玉君等(2008,统计研究), 连玉君等(2010,金融研究).
The model will be fitted with command xtreg,fe
Options
truediff(numlist) specifies the true difference of the coefficients between
groups, which must be input by hand in current version. You can estimate two
regressions by group, record coefficients of each group, and then calculate
their difference.
n1(#) specifies the number of individuals in the first group.
bs(#) specifies the bs reps with default 50.
seed(#) specifies the seed with default 1357.
Examples
. bdiff investment FQ cf, truediff(0.212 0.067) n1(102) bs(1000)
Also see
Online: help for bs, sample.
Author
Yujun,Lian (Arlion) Department of Finance, Lingnan College, Sun Yat-Sen
University.
E-mail:
arlionn@163.com.
HomePage:
http://toran.cn/arlion.
For problems and suggestions
Any problems or suggestions are welcome, please Email to
arlionn@163.com.
References
连玉君,程建. 投资-现金流敏感性:融资约束还是代理成本?. 财经研究,2007(2):37-46.
连玉君, 苏治, 丁志国, 2008, 现金-现金流敏感性能检验融资约束假说吗?, 统计研究,
(10): 92-99.
连玉君, 彭方平, 苏治, 2010, 融资约束与流动性管理行为, 金融研究, (10): 158-171.
Cleary, S., 1999, The Relationship between Firm Investment and Financial Status,
Journal of Finance, 54 (2): 673-692.