Announcement

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

  • Femlogit categorical dep. var.

    Hi All, please could somebody give me an advice?
    I have student level data, with controls for individuals and schools. I want to use school and time fixed effects (the panel data is at the school level). The dep. variables are the situation of the student: 1- fail; 2-drop out; 3-passed, 4- missing.
    I am thinking about using femlogit.
    Do you have any other suggestion? Or femlogit is fine? If so, do I have to construct dummies to run the model:
    Code:
     g fail = 1 if situation == 1
    g dropout = 1 if situation == 2
    g passed = 1 if situation ==3
    g missing = 1 if situation == 4
    Or the dep. variable will be the var. situation with values 1,2,3,4 ?

    Many thanks!!

  • #2
    Yes, you may use -femlogit-, or official command -xtmlogit- if you use Stata 17. The DV keeps its original scales (1, 2, 3, and 4).

    Comment


    • #3
      Ok! Many thanks Prof. Fei!

      Comment

      Working...
      X