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 14:51:35 +0000

Thanks, Clint and Richard. The -expand- command is useful, but it appears it doesn't permit the generation of different numbers of copies for different observations. I'm using version 8.2. Thanks.

Louis




try the -expand- command.
type -help expand- for more information...
--clint


> 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/



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