Correction
. whelp set varabbrev
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Nick Cox
> Sent: 17 January 2005 20:46
> To: [email protected]
> Subject: st: RE: Keeping Stata from unabbreviating variables
>
>
> . set varabbrev off
>
> added 5 October 2004
>
> . whelp var abbrev
>
> Nick
> [email protected]
>
> Andrew Felton
>
> > Is there a way to keep Stata from automatically
> > un-abbreviating variable names? I had a situation
> > recently where I had a lot of variables with similar
> > names. Some of them had a secondary variable with "p"
> > after the name, and sometimes there was just the "p"
> > variable -- so I had, e.g., q1, q2, q2p, q3p, q4, etc.
> >
> > I wanted to do something like label val q3 q3label --
> > and have this fail if there was no q3 in the set, not
> > to automatically apply the command to q3p as it would
> > as stands. I ended up using a roundabout method using
> > "ds" and looking word-by-word for a match within
> > r(varlist) -- but I am curious if there is a better
> > way.
> >
> > Is there a setting for this?
> >
>
> *
> * 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/