Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: collapsed data or the original


From   riyadh shamsan <onlineriyadh@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: collapsed data or the original
Date   Thu, 24 Jun 2010 17:30:00 +0100

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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index