Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Inserting non blank observations multiple times


From   Bryan Stuart <bryanastuart@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Inserting non blank observations multiple times
Date   Fri, 8 Jul 2011 14:48:11 -0400

I have a data set with 94 observations. After each observation, I want
to enter 761 (non blank) observations. The new observations will be
the same for each of the original 94 observations. I found the INSOB
module, which can easily enter blank observations. This isn't what I
want. I want to move from something like:

original1
original2
original3

to something like:

original1
new1
new2
...
new761
original2
new1
new2
...
new761
original3
...

Does anyone have suggestions? Thanks in advance.

Bryan Stuart
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index