Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Three-way table export
From
"arosella" <[email protected]>
To
[email protected]
Subject
st: Three-way table export
Date
Thu, 29 Aug 2013 11:30:47 +0200
I'm using Stata 12.1 on W7.
I've tried the following command using -table-
. table month Age_C Gender if Age_C !=., c(p25 MAI median MAI p75 MAI) format(%12.1f) center
(MAI is the Mediterranean Adequacy Index)
and it works fine. Now I'd want to export the table to an other document but I'd want to do it automatically.
-outreg2- from ssc may be a solution and I've tried it but not was able to build a three way table with
p25, p50 and p75 of a fourth variable (MAI) as a content of the cell.
Can someone to help me?
Thank you in advance
Alberto R. Osella
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
tel: +39 0804994655
fax: +39 0804994650
e-mail: [email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/