老师好,最近用断点回归分析时,想选择CV、IK以及CCT 等作为最优带宽,但命令执行时一直报错如下:
bwselect() options IK, CCT and CV have been depricated. Please see help for new options
r(7);
想请问老师这种情况该如何处理?
既然是最新版,那就应该看看 help rdrobust,里面似乎没有提到 CCT 等选项 (错误讯息也指出这些已经过期了),也请注意新选项。
bwselect(bwmethod) specifies the bandwidth selection procedure to be used. By default it computes both h and b, unless rho is specified, in which case it only computes h and sets b=h/rho. Options are:
mserd one common MSE-optimal bandwidth selector for the RD treatment effect estimator.
msetwo two different MSE-optimal bandwidth selectors (below and above the cutoff) for the RD treatment effect estimator.
msesum one common MSE-optimal bandwidth selector for the sum of regression estimates (as opposed to difference thereof).
msecomb1 for min(mserd,msesum).
msecomb2 for median(msetwo,mserd,msesum), for each side of the cutoff separately.
cerrd one common CER-optimal bandwidth selector for the RD treatment effect estimator.
certwo two different CER-optimal bandwidth selectors (below and above the cutoff) for the RD treatment effect estimator.
cersum one common CER-optimal bandwidth selector for the sum of regression estimates (as opposed to difference thereof).
cercomb1 for min(cerrd,cersum).
cercomb2 for median(certwo,cerrd,cersum), for each side of the cutoff separately.
Default is bwselect(mserd). For details on implementation see Calonico, Cattaneo and Titiunik (2014a), Calonico, Cattaneo and Farrell (2017), and Calonico, Cattaneo, Farrell and Titiunik (2018), and the companion software articles.