As some have said, you can use the -expand- command. If you only need to
expand so you can estimate models, many models allow frequency weights,
which basically do the expansion on-the-fly during estimation.
Hope this helps.
Sam
On Wed, 26 Apr 2006, louis boakye-yiadom wrote:
> Dear All,
> Is there a Stata command for duplicating observations? I have a summarised
> dataset, in the sense that it is in a "frequency table" format, but I'm
> interested in converting it into individual level observations. So I reckon
> if there is a way of asking Stata to generate multiple copies of an
> observation, I would be able to have the data in the desired format. Any
> help will be appreciated. Thanks.
>
> Louis
>
>
> *
> * 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/
>
*
* 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/