Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: AW: st: Problem with new version of Stat-transfer


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: AW: AW: st: Problem with new version of Stat-transfer
Date   Wed, 2 Dec 2009 07:38:38 -0800 (PST)

Perfect. Thank you!

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Wed, 12/2/09, Martin Weiss <martin.weiss1@gmx.de> wrote:

> From: Martin Weiss <martin.weiss1@gmx.de>
> Subject: AW: AW: st: Problem with new version of Stat-transfer
> To: statalist@hsphsun2.harvard.edu
> Date: Wednesday, December 2, 2009, 9:29 AM
> 
> <> 
> 
> Just say 
> 
> *************
> renpfix a _1
> *************
> 
> then.
> 
> 
> HTH
> Martin
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]
> Im Auftrag von Ricardo Ovaldia
> Gesendet: Mittwoch, 2. Dezember 2009 16:30
> An: statalist@hsphsun2.harvard.edu
> Betreff: Re: AW: st: Problem with new version of
> Stat-transfer
> 
> Thank you Martin, but that is not exactly correct.
> Dropping the prefix will change:
> 
>  a_2_Reviewer  to  _2_Reviewer
> 
> what I need is   _1_2_Reviewer
> 
> i.e. the "a"back to "1" and "_" in front.
> 
> 
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> 
> --- On Wed, 12/2/09, Martin Weiss <martin.weiss1@gmx.de>
> wrote:
> 
> > From: Martin Weiss <martin.weiss1@gmx.de>
> > Subject: AW: st: Problem with new version of
> Stat-transfer
> > To: statalist@hsphsun2.harvard.edu
> > Date: Wednesday, December 2, 2009, 9:16 AM
> > 
> > <> 
> > 
> > " How do I get this behaviour back?"
> > 
> > Just change the prefix within Stata, then:
> > 
> > *************
> > clear
> > set obs 1
> > gen a_1_family=.
> > gen a_2_family=.
> > //get rid of prefix "a"
> > renpfix a
> > d
> > *************
> > 
> > 
> > 
> > HTH
> > Martin
> > 
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: owner-statalist@hsphsun2.harvard.edu
> > [mailto:owner-statalist@hsphsun2.harvard.edu]
> > Im Auftrag von Ricardo Ovaldia
> > Gesendet: Mittwoch, 2. Dezember 2009 16:15
> > An: statalist@hsphsun2.harvard.edu
> > Betreff: Re: st: Problem with new version of
> Stat-transfer
> > 
> > Eric, Roger and Nick,
> > 
> > Thank you for the Reply. And yes you are correct.
> > 
> > What Stat/transfer did before was to add an
> underscore
> > before the variable
> > name. Thus it changed:
> > 
> >  1_1_SubjectID  to  _1_1_SubjectID
> >  1_2_Reviewer  to  _1_2_Reviewer
> >  and so on.
> > 
> > How do I get this behaviour back?
> > 
> > Thank you,
> > Ricardo Ovaldia, MS
> > Statistician 
> > Oklahoma City, OK
> > 
> > 
> > --- On Wed, 12/2/09, Eric Booth <ebooth@ppri.tamu.edu>
> > wrote:
> > 
> > > From: Eric Booth <ebooth@ppri.tamu.edu>
> > > Subject: Re: st: Problem with new version of
> > Stat-transfer
> > > To: statalist@hsphsun2.harvard.edu
> > > Date: Wednesday, December 2, 2009, 8:57 AM
> > > >
> > > >
> > > 
> > > You cannot start a Stata variable name with a
> number,
> > > that's why ST changes "1" to "a".
> > > 
> > > 
> > > __
> > > Eric A. Booth
> > > Public Policy Research Institute
> > > Texas A&M University
> > > ebooth@ppri.tamu.edu
> > > Office: +979.845.6754
> > > 
> > > 
> > > 
> > > On Dec 2, 2009, at 8:50 AM, Ricardo Ovaldia
> wrote:
> > > 
> > > > Dear _all
> > > > 
> > > > I have a Stata program write under Stata's
> > version 9
> > > that uses stat-transfer's "st.exe" to read an
> ever
> > > increasing number of text data files.
> > > > 
> > > > I recently upgrated to Stat/tranfer 10, and
> when
> > I ran
> > > my program it broke.
> > > > Stat/transfer rename my variables. For
> example
> > it
> > > changed:
> > > > 1_1_SubjectID  to  a_1_SubjectID
> > > > 1_2_Reviewer  to  a_2_Reviewer
> > > > and so on.
> > > > 
> > > > How do I get Stat/transfer to respect my
> > variable
> > > names? and why does it change them?
> > > > 
> > > > 
> > > > Thank you,
> > > > Ricardo Ovaldia, MS
> > > > Statistician 
> > > > Oklahoma City, OK
> > > > 
> > > > 
> > > 
> > > *
> > > *   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/
> > 
> > 
> > *
> > *   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/
> 
> 
> *
> *   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/



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