[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: duplicating observations
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/