Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • contrast _eqns option

    In the help for contrast, the Stata manual says

    _eqns designates the equations in manova, mlogit, mprobit, and mvreg and can be specified anywhere a factor variable appears.
    Is there any way user-written routines can add support for _eqns? For example, the following commands work fine:

    Code:
    webuse nhanes2f, clear
    mlogit health i.race c.age i.race#c.age
    contrast i.race#c.age#_eqns
    But, when I try to do the same thing with my gologit2 program,

    Code:
    gologit2 health i.race c.age i.race#c.age
    contrast i.race#c.age#_eqns
    I get the message

    Code:
    . contrast i.race#c.age#_eqns
    variable _eqns not found
    It would be nice if there was some little ereturn I could add to gologit2, but if so I don't know what it is. if the supported programs are hard-coded in to contrast, I guess I am out of luck.
    -------------------------------------------
    Richard Williams
    Professor Emeritus of Sociology
    University of Notre Dame
    StataNow Version: 19.5 MP (2 processor)

    EMAIL: [email protected]
    WWW: https://academicweb.nd.edu/~rwilliam/
Working...
X