为啥在保存第一阶段结果显示factor-variable operators not allowed,有大佬能解答一下嘛?
xtset id Year
xtivreg2 STR (DCGn DCG2n = mcDigB mcDigB2) $controls i.Year i.prov, fe first savefp(first) //保存第一阶段结果
eststo second //保存第二阶段结果
est restore firstDCGn
est restore firstDCG2n //激活第一阶段结果
outreg2 using 1.doc,cttop(first) tstat bdec(3) tdec(2) replace
est restore second //激活第二阶段结果
outreg2 using 1.doc,cttop(second) tstat bdec(3) tdec(2)