Announcement

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

  • Labelling oprobit variables in esttab

    Dear Stata users,

    It's nice that "Stata handles factor (categorical) variables elegantly", but it is getting me in a lot of trouble.

    I have a factor variable that is coded as a continuous variable, because oprobit does not accept "i.factor" as a dependent variable.

    However, since it is not a factor variable, I cannot label it. And since I cannot label it, when I display the result in esttab, it does not stick to the "order()" command.
    In addition, it displays the levels as:"variable_label=1", instead of the label I want to use.

    Any tips for this issue?

    Tom

  • #2
    estout is from the Stata Journal/ SSC, as you are asked to explain (FAQ Advice #12). You are giving us nothing here to help you. Review the FAQ that I reference on how best to pose your question, with emphasis on providing a reproducible example.

    Comment


    • #3
      It it is an ordinal variable, you can define labels for it.

      if it is continuous, why are you using oprobit?
      -------------------------------------------
      Richard Williams, Notre Dame Dept of Sociology
      StataNow Version: 19.5 MP (2 processor)

      EMAIL: [email protected]
      WWW: https://www3.nd.edu/~rwilliam

      Comment


      • #4
        Andrew Musau My apologies, I always forget about that rule. And you are right, I should worked out the question a little bit better. In trying to better explain what is going on, I actually realised my question was based on a misunderstanding on my part.




        Comment

        Working...
        X