Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: superposed rolled windows


From   "irodriguez" <[email protected]>
To   [email protected]
Subject   RE: st: superposed rolled windows
Date   Tue, 27 Jun 2006 14:37:41 -0300

ok thks 
there is some command for change all string variables simultaneously?
thanks again?

-----Original Message-----
From: "Alex Ogan" <[email protected]>
To: <[email protected]>
Date: Tue, 27 Jun 2006 13:27:22 -0400
Subject: RE: st: superposed rolled windows

> You probably want to try the command -encode-.
> 
> You might want to read the help file to learn more, but the basic
> syntax
> is:
> 
> encode stringvarname, gen(newvarname)
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of irodriguez
> Sent: Tuesday, June 27, 2006 1:24 PM
> To: [email protected]
> Subject: Re: st: superposed rolled windows
> 
> the meaning is that is string but i dont know how to change variables
> to
> 
> string format to a number format
> 
> -----Original Message-----
> From: "Michael S. Hanson" <[email protected]>
> To: [email protected]
> Date: Tue, 27 Jun 2006 13:02:23 -0400
> Subject: Re: st: superposed rolled windows
> 
> > On Jun 27, 2006, at 12:52 PM, irodriguez wrote:
> > 
> > > In the data editor windows all the variables except yeaar are in
> red
> > > this mean that are string?
> > > how can I convert the profit variable to string with encode or with
> 
> > > destring
> > > i`ve tried with
> > > destring profit, replace
> > > but it`s still red
> > 
> >    Sorry, I have never used the data editor, so I have no idea what
> red  
> > signifies.  Perhaps the User's Guide or Data Management manuals  
> > explain the color codings.  If you -describe- your variable, you  
> > should be able to determine its data type.  HTH.
> > 
> >                                          -- Mike
> > 
> > 
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 
> 
> This message is intended solely for the designated recipient(s). It may
> contain confidential or proprietary information and may be subject to
> confidentiality protections. If you are not a designated recipient, you
> may not review, copy, or distribute this message. If you receive this
> in error, please notify the sender by reply e-mail and delete this
> message. 
> 
> Arrowstreet Capital, L.P. is an Equal Opportunity Employer. 
> 
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index