Announcement

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

  • Error while running ivreg2h command

    To all the Statalists,

    I am trying to run the ivreg2h command in Stata to obtain the Lewbel IVs but I am getting the error message "option endog() not allowed". How do I resolve this? Kindly help me in this regard.

    Regards,
    Ipsita

  • #2
    ivreg2h is from SSC (FAQ Advice #12). You do not show your exact command, but the syntax for specifying the endogenous variable and instruments is

    Code:
    ivreg2h yvar (endogvar= instruments) xvars
    There is no such option -endog()-. See

    Code:
    help ivreg2h

    Comment

    Working...
    X