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

RE: st: Adding -nocons- to -mlbeta-


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Adding -nocons- to -mlbeta-
Date   Tue, 24 May 2005 17:36:08 -0500

At 10:38 PM 5/24/2005 +0100, Nick Cox wrote:
The upper case N just flags minimally acceptable
abbreviation and has no consequences for what
it does.
I try to avoid these "no" syntaxes because they confuse me - but I believe the effect of capitalization is greater than that in this case. If you have

syntax...,...nocons

then macro `cons' contains nothing or else it contains "nocons".

But if instead I say

syntax...,...Nocons

then macro `nocons' contains nothing or else it contains "nocons".

In other words, capitalization doesn't just change the minimal abbreviation - it changes the name of the local macro too. Part of Clive's problem may be that he is referring to `nocons' when he should be referring to `cons'. That is why I think he should just forget about using macros for now and just try to get it working.

option_descriptor_optionally_off is discussed on p. 410 of the Stata 8 Programming Manual and also in the online help for -syntax-.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

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