Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: unabcmd


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: unabcmd
Date   Wed, 21 Mar 2007 21:32:10 -0400

Maarten--
Try -which reg- and you will see that reg.ado is a wrapper for regress
(similar is true for -mlog- and -mlogit-):
*! version 1.0.1   23oct2004
program reg, eclass byable(onecall) prop(svyb svyj svyr)
	if _by() {
		local by "by `_byvars'`_byrc0':"
	}
	`by' regress `0'
end
exit


On 3/21/07, Maarten buis <maartenbuis@yahoo.co.uk> wrote:
I am having some trouble with -unabcmd-. The help-file of -unabcmd-
states that: ``If commandname_or_abbreviation is a valid command,
unabcmd returns in local r(cmd) the unabbreviated name.'' However, the
example below seems to show that that isn't the case for -reg- (short
for -regress-). The same is true for -mlog- (short for -mlogit-).
*
*   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