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)
Dear Dr. Shah,
after updating asdocx I now get the following error message: “conformability error”.
I am running a unequal unpaired t-test with the the stat() option:
asdocx ttest CompanyAge if InvRec == 1 & (VCType == "GVC" | VCType == "IVC"), by(VCType)
> unpaired unequal replace dec(3) stat(obs mean se sd dif t p) title(T-Test - GVCs vs. IVCs ) lab
> el abb(.) save(VCInv_GVCIVC_ttest_All)
The output is the following:
Two-sample t test with equal variances
------------------------------------------------------------------------------
Variable | Obs Mean Std. Err. Std. Dev. [95% Conf. Interval]
---------+--------------------------------------------------------------------
GVC | 1,072 5.757696 .2418861 7.919692 5.283071 6.23232
IVC | 7,379 6.221168 .0935548 8.036464 6.037774 6.404562
---------+--------------------------------------------------------------------
combined | 8,451 6.162377 .087271 8.022764 5.991305 6.33345
---------+--------------------------------------------------------------------
diff | -.4634723 .2621968 -.9774422 .0504976
------------------------------------------------------------------------------
diff = mean(GVC) - mean(IVC) t = -1.7677
Ho: diff = 0 degrees of freedom = 8449
Ha: diff < 0 Ha: diff != 0 Ha: diff > 0
Pr(T < t) = 0.0386 Pr(|T| > |t|) = 0.0772 Pr(T > t) = 0.9614
conformability error
r(503);
end of do-file
r(503);
Would be great if you could assist