Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: duplicate an observation
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of Costello, Michael
(Contractor)
Sent: Samstag, 21. August 2010 12:44
To: [email protected]
Cc: [email protected]
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/