楼主: 阿袋
1293 1

[stata资源分享] stata最新命定--- next [推广有奖]

贵宾

院士

16%

还不是VIP/贵宾

-

TA的文库  其他...

各科好书新书

投资人生

论文写作投稿实战

威望
0
论坛币
568541 个
通用积分
150.2041
学术水平
304 点
热心指数
347 点
信用等级
246 点
经验
88776 点
帖子
1683
精华
5
在线时间
2895 小时
注册时间
2007-6-10
最后登录
2024-5-27

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
Title

    next -- Regression discontinuity (RD) estimator

Syntax

        next outcomevar assignmentvar [if] [in] , [options]

    options               Description
    ---------------------------------------------------------------------------
    Model
      regtype(string)      regression type
      threshold(real)      threshold
      data_min(int)        minimum number of data points that must be used to
                            predict the next value
      p1(int)              minimum order of the polynomial
      p2(int)              maximum order of the polynomial
      base(real)           base weight for the weighting scheme
      mspe_min(int)        minimum number of MSPEs that are allowed to be
                            included in a weighted average of MSPE
      confidence(real)     confidence interval
      bin_left(int)        number of bins used set by the user
      bin_right(int)       number of bins used set by the user

    Reporting
      details              print details

    ---------------------------------------------------------------------------


Description

    next simultaneously selects the polynomial specification and bandwidth that
        minimizes the predicted mean squared error at the threshold of a
        discontinuity.  It achieves this selection by evaluating the
        combinations of specification and bandwidth that perform best in
        estimating the next point in the oberved sequence on each side of the
        discontinuity. For more information on the model, see Next: An Improved
        Method for Identifying Impacts in Regression Discontinuity Design.

Options
        +-------+
    ----+ Model +--------------------------------------------------------------

    regtype(string) sets the regression type. Values can be regress, probit, or
        logit. If not specified by user, regression type is regress.

    threshold(real) sets the threshold of the discontinuity. If not specified
        by the user, the threshold is assumed to be 0. Note that if X=T, the
        observation is assumed to be to the right of the threshold.

    data_min(int) sets the minimum number of data points that must be used to
        predict the next value in the series. Note that value should be in the
        range of 1 to min(number of distinct values of X on left of
        threshold-1, number of distinct values of X on right of threshold-1).
        If data_min>1, then random walk specification is skipped. If the user
        does not specify, the minimum number of data points is set at 5.

    p1(int), p2(int) sets the minimum(maximum) order of the polynomial to be
        tested.  If the user does not specify, the minimum is an order of 0 and
        the maximum is an order of 5.

    base(real) sets the base weight for the weighting scheme and should lie in
        the interval of 1 (uniform weight) to infinity. If the user does not
        specify, the base weight is set at 1000.

    mspe_min(int) sets the minimum number of MSPEs that are allowed to be
        included in a weighted average of MSPE. Must be >=2. If the user does
        not specify, the minimum number of MSPEs is 5.

    confidence(real) sets the confidence interval and can be between 0 and 100.
        If the user does not specify, the confidence interval is set at 80.

    bin_left(int), bin_right(int) sets the number of bins used on each side of
        the discontinuity.  If set by the user, then bin_left and bin_right is
        set equal to Min(user set bin size, Min(matsize,maxvar)/(number of
        specifications used)-2) on each side of the discontinuity. If not set
        by the user, then the bins on each side of discontinuity is set equal
        to Min(100, number of distinct values on that side of the
        discontinuity).


        +-----------+
    ----+ Reporting +----------------------------------------------------------

    details prints the details of each sepcification tested by the model.

Examples

    Setup (data from Jacob et al., 2012, with simulated treatment effect of -10
    at threshold=215)
         import excel using http://www.mdrc.org/sites/default/files/img/RDD_Guide
> _Dataset_0.xls, firstrow sheet("Data")

    Run regression discontinuity analysis with default settings, except
    threshold set at 215 (as in Jacob et al., 2012)
         next posttest pretest, t(215)

Author

    Mark C. Long, University of Washington (corresponding author)
         Email marklong@uw.edu

    Jordan Rooklyn, University of Washington

References

    Long, M., and J. Rooklyn. 2016.  Next: An Improved Method for Identifying
        Impacts in Regression Discontinuity Design..  Working paper.

    Jacob, R.T., P. Zhu, M.A. Somers, and H. Bloom. 2012.  A Practical Guide to
        Regression Discontinuity.  New York: MDRC.

See Also
rd (if installed)     ssc install rd (to install this command)
(remote file ends)
---------------------------------------------------------------------------------
(click here to return to the previous screen)


二维码

扫码加我 拉你入群

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

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

关键词:Stata Next tata ext Combinations minimum number points

沙发
黃河泉 在职认证  发表于 2016-10-15 15:46:45 |只看作者 |坛友微信交流群
这个是弄错了吧?

使用道具

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

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

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

GMT+8, 2024-5-27 09:22