Announcement

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

  • Understanding an error with mixed-effects logistic regression

    Hello, I am using melogit to run a mixed-effects logistic regression. My code took a very long time to run and then finished with the following error, which I do not understand and am having trouble finding any information on:

    Click image for larger version

Name:	Screenshot 2024-08-08 at 7.44.59 PM.png
Views:	1
Size:	24.3 KB
ID:	1761124


    This is the line of code I am running:

    Code:
    melogit choseP1 *diff i.encodechar* if view == 1 || scenario: *diff
    My LHS variable is a 0/1 binary variable; when I run the same command with "mixed" (i.e.,
    Code:
    mixed choseP1 *diff i.encodechar* if view == 1 || scenario: *diff
    ), I have no issue at all.

    I am quite mystified by what this means -- any guidance or thoughts would be greatly appreciated. Thank you very much!
Working...
X