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: Re: Equivalent to matcell in table


From   Hobst <tobias.friedli@access.uzh.ch>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Equivalent to matcell in table
Date   Wed, 14 Jul 2010 10:40:07 -0700 (PDT)

Thanky you. i did it! But somehow different

I cleanes up the Variables and then just

reshape wide table1, i(Traded_Model) j(NewModel) string

and it almost worked.

I had to rename all the Models that begin with an number , for example 200SX
by n2000SX.
I did that manually Model by Model... Is there an easier way how to do that?
(identify all the Traded_Model and NewModel that start with a number and put
a "n" in front of it) I need a more automated approach, because i need to do
steps i did today for 45 other Datasets, which do not necessarily contain
the same model names...

After that it worked fin :)... Thank you so much all your help



-- 
View this message in context: http://statalist.1588530.n2.nabble.com/Equivalent-to-matcell-in-table-tp5285038p5293896.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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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