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]

Re: st: How to transfer strings in different rows of a cell into different observations


From   XIAOFEI XING <mike.xf.xing@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: How to transfer strings in different rows of a cell into different observations
Date   Sun, 23 Jun 2013 13:19:57 +0100

Dear Dr. Nick Cox,

Thanks a lot for your reply. However, I believe that we talk about totally different things. My problem is not about replacing missing values. My question is about how to split one cell into different observations.

I import data from excel, if a cell contain following content, 
A A
B
C
Stata will treat the cell into one observations rather than three observations

I want to use state to transfer them into different observations.

Thanks,

Xiaofei Xing


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index