Announcement

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

  • Robust standard errors hausman test

    Hi all,

    Im encountering a problem when trying to run a hausman test with robust standard errors. Ive run the random effects regression then used xtoverid but stata returns an error code reading: 2000b: operator invalid.

    I was wondering if anyone could tell me where im going wrong?

    Thanks!

  • #2
    Oliver:
    you did nothing wrong, but overlooking that -xtoverid-, being a bit old-fashioned, does not allow -fvvarlist- notation.
    Just prefix your regression code with -xi:- and see if the error message creeps up again.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Thanks for your response Carlo,

      Now when I try stata isn't even recognising xtoverid! If I run a hausman test without using the regressions with robust standard errors and use those results would that be ok or is that something completely different?

      Comment


      • #4
        It depends, but I would not consider reliable going -hausman- and then invoking non-default standard errors.
        Try to track down what's the matter with -xtoverid-, instead.
        Kind regards,
        Carlo
        (Stata 19.0)

        Comment

        Working...
        X