After a logit regression, I am doing a bunch of estimations, and outputting it all with outreg2
Code:
outreg2 using "$rootloc\regression_noeffect_output.doc", addstat("Pseudo R^2", r, "Correctly classified per confusion matrix", classified, "Area under ROC curve", aroc, "GOF: Number of covariate patterns", gofm, "GOF: Pearson chi^2", gofchi2, "GOF: Prob > chi^2", gofp) bdec(3) replace
This works perfectly as intended.

However, when I try adding a column after another logit and same bunch of estimations
Code:
outreg2 using "$rootloc\regression_noeffect_output.doc", addstat("Pseudo R^2", r, "Correctly classified per confusion matrix", classified, "Area under ROC curve", aroc, "GOF: Number of covariate patterns", gofm, "GOF: Pearson chi^2", gofchi2, "GOF: Prob > chi^2", gofp) bdec(3) append
I get
Code:
invalid syntax
r(198);
Note that all I have changed in the command is from replace to append

Initially I thought maybe outreg2 doesn't like that I am specifying the stat/row headers again. So I tried removing those,
Code:
outreg2 using "$rootloc\regression_noeffect_output.doc", addstat(r, classified, aroc, gofm, gofchi2, gofp) bdec(3) append
but didn't help.

What am I missing?