Statalist The Stata Listserver


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

Re: st: duplicating observations


From   SamL <[email protected]>
To   [email protected]
Subject   Re: st: duplicating observations
Date   Wed, 26 Apr 2006 07:42:44 -0700 (PDT)

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index