I need code to create automatic standard reports in stata. The code should be used when it is necessary to create many reports for a group in a dataset.
The report contains two tables.
1. A table with one column with the mean for the group and one with the mean for the total population
2. A table with the correlation coefficient between a dependent variable and a few independent