全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
1060 1
2021-01-19
悬赏 100 个论坛币 未解决
在用stata进行opreg时,命令如下:
sort code obs
by code: gen exit=1 if obs[_n+1]-obs!=1
egen mis = rowmiss(exit)
replace exit=0 if mis
drop mis
replace exit=0 if obs==2017
label define exit 1 "exit" 0 "survive"

opreg ln(y),exit(exit)state(lnk lnl) proxy(misk) free(lne) cvars(obs) vce(bootstrap, seed(1357) reps(5))


结果总是出现如下错误:

factor-variable and time-series operators not allowed
an error occurred when bootstrap executed opreg

求助各位学长

opreg 命令.do

大小:292 Bytes

 马上下载

数据.xlsx

大小:56.66 KB

 马上下载

二维码

扫码加我 拉你入群

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

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

全部回复
2021-1-27 15:12:07
请问楼主解决此问题了吗
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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