Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: pooling data


From   Tunga Kantarci <kantarci@uvt.nl>
To   statalist@hsphsun2.harvard.edu
Subject   st: pooling data
Date   Fri, 23 May 2008 17:09:04 +0200

Hello,


I have a panel variable: that is it has time series and cross section
dimensions.
I would like to produce a histogram regardless of the time dimension.
That is, I would like to pool the time dimension and then produce a
histogram. 

To do this, I used the following command: 

.
.
.
reshape long variablename, i(id) j(number)

I suppose one can also use the "stack" command.

I am wondering if this is an inefficient way of pooling data.
Is there a better workaround to pool data?  

Thanks in advance.




*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index