You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Stata中KHB结合ologit回归的代码报错求助

Stata中KHB方法结合ologit回归的报错求助

基于Kohler、Karlson和Holm的论文,我在Stata中使用KHB方法运行有序logistic回归(ologit)时,遇到了与Statalist某论坛帖子作者相同的错误,尝试该论坛给出的建议后问题仍未解决,恳请有KHB与ologit使用经验的人士帮忙排查以下代码:

forv i = 1/3 {
    quietly estate: khi ologit diabetes education || healty_diet, outcome(`i´) ape summary
}
esttab, scalars("ratio_ education Conf.-Ratio" "pct_education Conf.-Perc.")

报错信息:

英文原报错:program error: code follows on the same line as open brace
中文翻译:程序错误:左大括号所在行后仍有代码

内容的提问来源于stack exchange,提问作者Quinn

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.18 03:15:50