Hi all,

In Stata 17 I've been trying to work with the collect command to produce some Latex tables! Currently I use the collect prefix command on the ttest command (paired ttest). Then I use
Code:
 return list
to view the stored scalars from the ttest command. I notice that some scalars of interest are not stored. In particular, the table reports the difference between the two sample means, but this difference is not stored. Is there a way to access this scalar so that I can then include it in the collect table, or is there a way I can manually add this scalar to the collect table? I've included the exact code I have, but it is only a couple of lines:

Code:
collect: ttest median_family_income, by(diff)
return list
collect layout (colname) (result[mu_1 mu_2])

Thanks!
-- Ethan