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: foreach? forvalues?
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: foreach? forvalues?
Date
Mon, 4 Jun 2012 13:00:24 +0100
tab Time Diet, su(Score) mean
Nick
On Mon, Jun 4, 2012 at 12:55 PM, Alberto R Osella
<[email protected]> wrote:
> Dear Statalisters,
> I'm using Stata 12.1 on W7.
> I'd like to obtain , say, the mean of Score for each combination of Time And
> Diet:
> Time Diet Score
> 0 1 3.5
> 3 1 2.8
> 6 1 2.5
> 0 2 4.5
> 3 2 4.2
> 6 2 3.9
> I've tried but not was able.
*
* 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/