asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum ttest – number format with large numbers (exponential notation) Reply To: ttest – number format with large numbers (exponential notation)

Daniel Paschek
Participant
Post count: 6

In a related issue with t-tests, I get the following error message:

           asdocxtable():  3301  subscript invalid
                 <istmt>:     -  function returned error

My code is:

asdocx ttest OtherVC_EquityInv if VCType == "OtherVC", ///
    by(EPU_AbAvgYear) unpaired unequal stat(mean sd obs) label abb(.)  save(test)

The error only occurs when I include “sd” in the stat option. It also occurs when I use asdoc.
Is there a way to fix this?