大家好!最近刚学习Stata,在尝试看别的作者的代码,在运行时出现了下面的问题:
quiet {
nothing to restore
r(622);
end of do-file
r(622);
运行的代码如下:
tempfile t0 t1 t2 t3
* Government spending
loc i = 1
preserve
forval h = 0/3 {
parmby "qui xtreg g`h'_gspnd g0_milspnd_nc l.g0_gspnd warall l.g0_rgdp i.year, fe vce(cl cid)", ///
saving(`"`t`h''"', replace)
}
* create dataset from estimates
drop _all
append using `"`t0'"' `"`t1'"' `"`t2'"' `"`t3'"'
keep if parm=="g0_milspnd_nc"
gen idnum = _n - 1
通过 set trace on 可以得到:
----------------------------------------------------- end parmby._parmby ---
- return add
- if "`fast'"=="" {
= if ""=="" {
- if "`restore'"=="norestore" {
= if ""=="norestore" {
restore,not
}
- else {
- restore
nothing to restore
}
}
--------------------------------------------------------------- end parmby ---
}。
请各位老师指点一下这是什么问题,谢谢大家。