📄 _isfit.ado
字号:
*! version 1.0.2 05sep2001
program define _isfit /* cons */
version 7
if "`e(cmd)'" == "anova" {
if "`1'"!="anovaok" & "`2'"!="anovaok" {
di as err "not appropriate after anova"
exit 301
}
}
else if "`e(cmd)'"!="fit" & "`e(cmd)'"!="regress" {
error 301
}
if "`e(model)'"!="ols" {
di as err "not appropriate after IV estimation"
exit 301
}
if "`1'"=="cons" | "`2'"=="cons" {
if "`e(cmd)'" == "anova" {
anovadef
if "`r(tid1)'" != "1" {
di as err "not appropriate after anova, nocons"
exit 301
}
}
else {
capture local b = _b[_cons]
if _rc {
di as err /*
*/ "not appropriate after regress, nocons"
exit 301
}
}
}
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -