Dear all,
I have been trying to figure out the best way to get descriptive statistics in an automatic way to LaTeX.
By reading through different posts i have found out that there are different possible solutions for that. I so far have tried my luck with outreg2 and have come so far:
This basically does the job for me. However, I would further like to change the standard column names (N mean sd min max) to (Observations, Mean, Standard Dev., Minimum, Maximum).
When using outreg 2 for regression results, I can do this individually for each column with the ctitle option.
If I try it for the descriptive statistics, where I only have 1 command for 5 columns, I can only change the ctitle of all 5 columns at once.
Does anybody have an Idea how I could change the column names here?
Thank you very much in advance!
I have been trying to figure out the best way to get descriptive statistics in an automatic way to LaTeX.
By reading through different posts i have found out that there are different possible solutions for that. I so far have tried my luck with outreg2 and have come so far:
Code:
outreg2 using "$workdir/descriptives.doc", replace sum(log) tex(frag) label keep(var1 var2 var3 var4 var5 var6)
This basically does the job for me. However, I would further like to change the standard column names (N mean sd min max) to (Observations, Mean, Standard Dev., Minimum, Maximum).
When using outreg 2 for regression results, I can do this individually for each column with the ctitle option.
If I try it for the descriptive statistics, where I only have 1 command for 5 columns, I can only change the ctitle of all 5 columns at once.
Code:
outreg2 using "$workdir/descriptives.doc", replace sum(log) tex(frag) label keep(var1 var2 var3 var4) ctitle("Observation", "Mean", "Standard Dev.", "Min", "Max")
Thank you very much in advance!