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)
Hello Greg Hebb
Thanks for reporting this. I have fixed the bug. Please update asdocx and try the following two examples;
asdocx_update
*When using the stat() option
asdocx ttest Asset , by(bankparent) replace dec(4) ///
stat(obs mean dif p) title(T-Test of differences for all Funds) ///
save(table1all.doc)
----+----------------------------------------------------------------------------------------
1 | obs1 obs2 Mean1 Mean2 dif p_value
----+----------------------------------------------------------------------------------------
2 |Asset by bankparen~1 4 5 0.001 0.025 -0.024 0.192
---------------------------------------------------------------------------------------------
* When option stat() is not used
asdocx ttest Asset , by(bankparent) replace dec(4) ///
title(T-Test of differences for all Funds) ///
save(table1all.doc)
----+-------------------------------------------------------------------------------------------
1 | obs1 obs2 Mean1 Mean2 dif St_Err t_value p_value
----+-------------------------------------------------------------------------------------------
2 |Asset by bankparen~1 4 5 0.001 0.025 -0.024 0.0165 -1.45 0.192
------------------------------------------------------------------------------------------------