Skip to content

Commit

Permalink
Clarified 0-based indexing requirement for OrderedLogistic and Ordere…
Browse files Browse the repository at this point in the history
…dProbit (#7457)

* Clarified 0-based indexing requirement for OrderedLogistic and OrderedProbit in discrete.rst

* Fix end of file issue in discrete.rst
  • Loading branch information
kdotmanoj authored Aug 15, 2024
1 parent 8cdc9ee commit 747fda3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/api/distributions/discrete.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ Discrete
OrderedLogistic
OrderedProbit
Poisson

.. note::

**OrderedLogistic and OrderedProbit:**
The `OrderedLogistic` and `OrderedProbit` distributions expect the observed values to be 0-based, i.e., they should range from `0` to `K-1`. Using 1-based indexing (like `1, 2, 3,...K`) can result in errors.

0 comments on commit 747fda3

Please sign in to comment.