Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: [8] -set varabbrev off- fails for _b[]


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: [8] -set varabbrev off- fails for _b[]
Date   Tue, 10 May 2005 20:25:48 +0100

On the general question: 

1. I'd say there is a good purist case for 
saying that variable abbreviations should never
have been introduced, as they do complicate 
the language and introduce an extra source of bugs. 
The practical case is sordidly pragmatic by 
comparison and hinges on saving time and trying 
to avoid repetitive strain injuries! 

2. Variable abbreviations are voluntary on 
your part. If you think they are a bad idea, 
why do you use them, or is that just by 
accident? 

Nick 
[email protected] 

Keith Dear
 
> set varabbrev off
> reg y somexvar
> ...
> di _b[some]
> 
> This displays the estimate _b[somexvar], instead of reporting 
> "[some] not 
> found".
> 
> Bug or feature? Is there some other option I can -set- to 
> stop this happening?
> 
> Do others concur that variable abbreviations are a BAD IDEA? 
> It seems to me 
> they add no real functionality, and too often conceal errors 
> in (my) do-files.

*
*   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