Demonstration of the dtable command in Stata 18 for creating and exporting tables of descriptive statistics. Optionally report by groups and test comparisons across groups, select from many formatting and style customizations, and export to a variety of formats.
https://www.stata.com