Announcement

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

  • r(198) option 75 not allowed

    Hello everybody,

    I have the following problem.
    A loop ran under stata 13. Now it seems not running under stata 15. Previous to the loop an mlogit with one base and three estimated categories is running. Within the loop I have

    predict p0_`a'_`b'_`c'_`d'_`e', outcome(#1)
    predict p1_`a'_`b'_`c'_`d'_`e', outcome(#2)
    predict p2_`a'_`b'_`c'_`d'_`e', outcome(#3)
    predict p3_`a'_`b'_`c'_`d'_`e', outcome(#4)
    .
    I get
    (option pr assumed; predicted probability)
    (option pr assumed; predicted probability)
    (option pr assumed; predicted probability)
    (option pr assumed; predicted probability)
    option 75 not allowed
    r(198);
    .

    Where is my mistake?
    Thank you very much for any hint and advice

    Gunnar

  • #2
    rerun with set trace on
    most likely now one of your locals contains a comma or something else that the trace will reveal.

    Comment


    • #3
      Thank you very much, Sergiy, it was a comma. All the best,

      Gunnar

      Comment

      Working...
      X