Announcement

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

  • Issue with predicting yhat

    Hi everyone,

    Ran the command "betareg y x1 x2 x3 x4" where the dependent variable y is greater than 0 and less than 1.

    Then ran "predict yhat, mu", but Stata showed the following error:

    "predict yhat, mu"
    "option mu not allowed"
    "r(198);"

    How to solve this problem?

    Thank you for all of your attention and help!

  • #2
    Plus info: STATA 19.5. Ran the command "updated all".

    Comment


    • #3
      -predict- has different postestimation options for different estimation commands. See -help betareg-, then find "postestimation within that help," and you will see the options ("mu" not among them), and you can decide which one you want.

      Comment


      • #4
        Got it, thanks!

        Comment

        Working...
        X