Statalist The Stata Listserver


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

RE: st: duplicating observations


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: duplicating observations
Date   Wed, 26 Apr 2006 17:24:57 +0100

Not so. You just specify them in a variable. 
Here is a dopey example: 

sysuse auto, clear 
expand rep78 

Nick 
n.j.cox@durham.ac.uk 

louis boakye-yiadom
 
> 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. 

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