. tabstat experience education children, s(mean) save
. matrix mean = r(StatTot)'
. matrix li mean
Note the transpose mark.
Nick
[email protected]
Mohamad Khalid Dimaporo
> Im a beginner with stata and cant find a simple method to
> create a (n x 1)
> matrix of my variable averages. For example, what command
> do I type to get a
> 3 x 1 matrix of the averages of experience education children.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/