[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: duplicate an observation
From
"Martin Weiss" <martin.weiss1@gmx.de>
To
<statalist@hsphsun2.harvard.edu>
Subject
st: RE: duplicate an observation
Date
Sat, 21 Aug 2010 13:15:50 +0200
<>
Let`s duplicate observation number 6 (in terms of "make"):
***********
sysuse auto, clear
sort make
l in 5/7
*duplicate number 6
expand 2 in 6
sort make
l in 5/8
***********
HTH
Martin
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Costello, Michael
(Contractor)
Sent: Samstag, 21. August 2010 12:44
To: statalist@hsphsun2.harvard.edu
Cc: n.j.cox@durham.ac.uk
Subject: st: duplicate an observation
I need to duplicate a single observation in a dataset. I found an article
on something called EXPGEN, but I don't understand how to incorporate this
information. Does anyone know how to do this?
-Michael
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/