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]
Re: st: combining different storage types
From
Edward James <[email protected]>
To
[email protected]
Subject
Re: st: combining different storage types
Date
Sun, 9 Oct 2011 00:34:53 +0900
Dear Nick.
My intention is that I want to combine two variables which has
different storage types; one is "str" and the other is "int."
2011/10/9 Nick Cox <[email protected]>:
> It is not clear what you think is a problem. Something like "Spain95"
> could be the value of a string variable or the value label of a
> numeric variable, which seems as much flexibility as you might want.
>
> Apart from -graph combine-, not relevant here, the -combine- command
> appears to be a specialist user-written command for meta-analysts on
> SSC. Again what it has to do with your question isn't clear.
>
> (Very common words such as -combine- are likely to be grabbed by
> StataCorp for their own commands.)
>
> Nick
>
> On Sat, Oct 8, 2011 at 4:19 PM, Edward James <[email protected]> wrote:
>
>> I want to make a variable such as "Spain95" or "Germany05." So I
>> manage to combine two variables, "country" and "year," although the
>> storage type is different.
>> Is it possible to make a variable with -combine- command? or do you
>> have any idea concerning this problem?
>
> *
> * 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/
>
*
* 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/