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

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


From   Keith Dear <keith.dear@anu.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: [8] -set varabbrev off- fails for _b[]
Date   Tue, 10 May 2005 15:00:43 +1000

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.

KD


==========================================================
Dr Keith B.G. Dear
Senior Fellow in Biostatistics
National Centre for Epidemiology and Population Health (NCEPH)
The Australian National University
Canberra, ACT 0200, Australia
Tel: 02 612 54865, Fax: 02 612 50740
http://nceph.anu.edu.au/Staff_Students/staff_pages/dear.php
CRICOS provider #00120C

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index