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 on April 23, and its replacement, statalist.org is already up and running.


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

st: expand dataset


From   Nikolaos Pandis <npandis@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: expand dataset
Date   Fri, 30 Mar 2012 02:33:18 -0700 (PDT)

Hi to all,
 
I was wondering how I could possibly expand the dataset below so one  row corresponds to 1 observation:
 
values_x abs_fr rel_fr 
0 30 0,238 
1 51 0,405 
2 33 0,262 
3 10 0,079 
4 2 0,016 
 
Thank you,
 
Nick

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