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

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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Adding -nocons- to -mlbeta-
Date   Tue, 24 May 2005 23:43:01 +0100

You may be on to something important there. Well
spotted. 

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Richard
> Williams
> Sent: 24 May 2005 23:36
> To: [email protected]
> Subject: RE: st: Adding -nocons- to -mlbeta-
> 
> 
> 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-.

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