[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Shehzad Ali <sia500@york.ac.uk> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: AW: simple question on two-way table |

Date |
18 Feb 2009 10:32:03 +0000 |

Thank you, Martin, Neil and Austin. All the suggestions were very helpful. Here are quick follow-up questions for Austin:

-file can not be saved at this location-

2. When I tried:

tabstatmat a I get the following error: - no tabstat results in memory- Instead if I tried:

tabstatmat a It worked. I don't why. Can you help here please? Thank you, Shehzad On Feb 17 2009, Austin Nichols wrote:

Shehzad Ali <sia500@york.ac.uk>: ssc inst tabstatmat ssc inst xml_tab bysort week: tabstat A B C D E F G H I J, stat(mean sd median min max) col(stat) save tabstatmat a mat A=a' On Tue, Feb 17, 2009 at 8:11 AM, Shehzad Ali <sia500@york.ac.uk> wrote:Thanks, Martin. I tried: bysort week: tabstat A B C D E F G H I J, stat(mean sd median min max) col(stat)I get the summary which is presented for each week. Is there a way toexport this into Excel so the summary stats for each week appear next toeach other instead of how Stata shows it (as separate tables)?Apologies for posting twice. I thought the first post didnt go. Thanks, Shehzad On Feb 17 2009, Martin Weiss wrote:<> Look at -table- or -tabstat- with the -by- prefix or an appropriate -if- qualifier... HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Shehzad Ali Gesendet: Dienstag, 17. Februar 2009 13:27 An: statalist@hsphsun2.harvard.edu Betreff: st: simple question on two-way table Hi, I have a simple question about tabulation of summary statistics.I want a table with summary statistics (mean, median, SD, minimum andmaximum) for 5 time points for 10 variables. The columns should showtime points (10 weeks, 20 weeks, 30 weeks, 40 weeks, 50, weeks) androws should reflect the variables (A through J). Each column should besub-divided into 5 sub-columns for each of the summary statistic. Iwant the table to look like this (not sure if this will copy well inthe email).* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

-- Shehzad I Ali Department of Social Policy & Social Work University of York YO10 5NG +44 (0) 773-813-0094 * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**RE: st: AW: simple question on two-way table***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**References**:**st: simple question on two-way table***From:*Shehzad Ali <sia500@york.ac.uk>

**Re: st: AW: simple question on two-way table***From:*Shehzad Ali <sia500@york.ac.uk>

**Re: st: AW: simple question on two-way table***From:*Austin Nichols <austinnichols@gmail.com>

- Prev by Date:
**Re: st: Should be simple yet ... how to write a function?** - Next by Date:
**AW: st: Should be simple yet ... how to write a function?** - Previous by thread:
**Re: st: AW: simple question on two-way table** - Next by thread:
**RE: st: AW: simple question on two-way table** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |