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: RE: collapsed data or the original
From
riyadh shamsan <[email protected]>
To
[email protected]
Subject
Re: st: RE: collapsed data or the original
Date
Thu, 24 Jun 2010 18:03:02 +0100
many thanks Nick
On Thu, Jun 24, 2010 at 5:34 PM, Nick Cox <[email protected]> wrote:
> It shouldn't matter how you calculate a mean.
>
> I don't think your claim can be discussed without an example.
>
> Nick
> [email protected]
>
> riyadh shamsan
>
> when you use collapse and examine the mean values they turn to be
> different from the original set when using the by option.
>
> So for example if you have a time series and it is a monthly data so
> you will go:
>
> summ y, by (time)
>
> when you collapse your data and use the mean option your result won't
> be the same. Is this correct?
>
> *
> * 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/