Bookmark and Share

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: R: Convert STATA format


From   "Carlo Lazzaro" <carlo.lazzaro@tiscalinet.it>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: R: Convert STATA format
Date   Mon, 17 Feb 2014 10:24:36 +0100

Qian may want to take a look at -input- (although this may imply starting
from scratch).
Kind regards,
Carlo
-----Messaggio originale-----
Da: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di Qian Yu
Inviato: lunedì 17 febbraio 2014 10:15
A: statalist@hsphsun2.harvard.edu
Oggetto: st: Convert STATA format

Dear all
      How to compile the results in stata file?
      The results is as following
      Var1   Var2   Var3  ...   Var"n"
        1              
        1
                 2
                 2
                          3
                          3
                                .
                                .
                                .
                                          n
                                          n
     I want to obtain the following format in stata
    Var1   Var2   Var3   ...   Var"n"
        1      2       3     ...       n
        1      2       3     ...       n

So could anyone give me some advice on the STATA code for this conversion?


Many thanks in advance!
Qian



--
View this message in context:
http://statalist.1588530.n2.nabble.com/Convert-STATA-format-tp7580483.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index