Statalist The Stata Listserver

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

Re: st: duplicating observations

From   "louis boakye-yiadom" <[email protected]>
To   [email protected]
Subject   Re: st: duplicating observations
Date   Wed, 26 Apr 2006 15:13:37 +0000

Thanks for all the suggestions! The frequency weights option especially looks promising. I've got to leave now, but I'll let you know the outcome once I've explored the suggestions.


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.

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:

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