自己测试了下命令thregs,测试结果为:
- * 观测数为7910,最终使用样本数为7910,估计双门槛模型耗时 2 秒,检验双门槛效应耗时 5 秒
- use hansen1999.dta,clear
- thregs i q1 q2 q3 d1 qd1, thres(d1) dthres(c1) reps(0) qn(400) thnum(2)
- thregs i q1 q2 q3 d1 qd1, thres(d1) dthres(c1) reps(300) qn(400) thnum(2)
- * 观测数为28534,最终使用样本数为28099,估计双门槛模型耗时 22 秒,检验双门槛效应耗时 34 秒
- use nlswork.dta,clear
- thregs ln_w grade age, thres(age) dthres(ttl_exp tenure) reps(0) qn(400) thnum(2)
- thregs ln_w grade age, thres(age) dthres(ttl_exp tenure) reps(300) qn(400) thnum(2)
截面和时序门槛模型(无内生变量):Stata命令thregs和示例
https://bbs.pinggu.org/thread-10466177-1-1.html
1)观测数为7910,最终使用样本数为7910,估计双门槛模型,耗时2秒
2)观测数为28534,最终使用样本数为28099,检验双门槛效应,耗时34秒


雷达卡







京公网安备 11010802022788号







