[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: unabcmd
Maarten buis <firstname.lastname@example.org> 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-).
> . unabcmd l
> . di r(cmd)
> . /*as expected*/
> . unabcmd reg
> . di r(cmd)
> . /*I expected regress*/
Maarten is correct. According to the documentation,
. unabcmd reg
should result with "regress" in -r(cmd)-.
Since -unabcmd- is a built-in command the fix will be available in the next
In Stata 9, the built-in estimation command -regress- was renamed to
-_regress- and an ado-file replaced it. This change helped facilitate the
new -vce()- option for estimating alternative (co)variance estimates such as
-bootstrap- and -jackknife-.
In order to continue to allow the abbreviations of the old built-in -regress-
command, the following ado-files are short-cut programs for the new -regress-
This is what -unabcmd- will currently find if you specify one of the
abbreviations for -regress-.
Here is the full list of built-in estimation commands that were renamed and
replaced with ado-files in Stata 9:
We will fix -unabcmd- to correctly recognize the abbreviations for these
* For searches and help try: