Statalist The Stata Listserver


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

RE: st: duplicating observations


From   "b. water" <barleywater@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: duplicating observations
Date   Wed, 26 Apr 2006 14:55:28 +0000

Maybe -reshape- esp. -reshape long- is what you have in mind?

type help reshape

bw

----------------------------------------
> From: louisby@hotmail.com
> To: statalist@hsphsun2.harvard.edu
> Subject: st: duplicating observations
> Date: Wed, 26 Apr 2006 14:26:20 +0000
> 
> 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/

_________________________________________________________________
Enter the Windows Live Mail beta sweepstakes
http://www.imagine-msn.com/minisites/sweepstakes/mail/register.aspx
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index