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]
RE: st: Row totals in table
From
"Narahari H.S." <[email protected]>
To
[email protected]
Subject
RE: st: Row totals in table
Date
Fri, 20 May 2011 17:48:23 +0530 (IST)
Thanks a ton Nick...
Prima-facie this seems to do the job for me. Will explore !
Hari
--- On Fri, 20/5/11, Nick Cox <[email protected]> wrote:
> From: Nick Cox <[email protected]>
> Subject: RE: st: Row totals in table
> To: "'[email protected]'" <[email protected]>
> Date: Friday, 20 May, 2011, 3:56 PM
> "Format" could mean several things
> here. You should probably be looking at something like
> -tabout- (SSC).
>
> Nick
> [email protected]
>
>
> Narahari H.S.
>
> Thanks Nick !
>
> This works but I am unable to format the table cells using
> -tab-. Can this be done?
>
> --- On Fri, 20/5/11, Nick Cox <[email protected]>
> wrote:
>
> > The purpose of the -row- and -col-
> > options is to add statistics for
> > the total category, rather than totals of the
> statistics.
> > So, I don't
> > think -table- is the way to do this.
> >
> > Some technique:
> >
> > sysuse auto, clear
> > preserve
> > collapse mpg, by(foreign rep78)
> > tab foreign rep78 [iw=mpg]
> > restore
> >
> > Nick
> >
> > On Fri, May 20, 2011 at 8:31 AM, Narahari H.S. <[email protected]>
> > wrote:
> >
> > > I am using the -table- command (in Stata/SE
> 10.1). The
> > contents of the table are the means of a variable. I
> want
> > the total of those means in the row total. I am unable
> to
> > get this using the -row- option. Please let me know
> how to
> > do this.
>
> *
> * 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/
>
*
* 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/