From a5afe16ecab380a9275e6e19c5344edf7bbc9599 Mon Sep 17 00:00:00 2001 From: kdotmanoj Date: Wed, 14 Aug 2024 12:20:23 +0530 Subject: [PATCH 1/2] Clarified 0-based indexing requirement for OrderedLogistic and OrderedProbit in discrete.rst --- docs/source/api/distributions/discrete.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/api/distributions/discrete.rst b/docs/source/api/distributions/discrete.rst index dd9971b174..033a1faebe 100644 --- a/docs/source/api/distributions/discrete.rst +++ b/docs/source/api/distributions/discrete.rst @@ -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. \ No newline at end of file From 32f423d722a42ab440fde43867a9d45072d12872 Mon Sep 17 00:00:00 2001 From: kdotmanoj Date: Wed, 14 Aug 2024 12:29:01 +0530 Subject: [PATCH 2/2] Fix end of file issue in discrete.rst --- docs/source/api/distributions/discrete.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/api/distributions/discrete.rst b/docs/source/api/distributions/discrete.rst index 033a1faebe..79e66bab8b 100644 --- a/docs/source/api/distributions/discrete.rst +++ b/docs/source/api/distributions/discrete.rst @@ -23,4 +23,4 @@ Discrete .. 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. \ No newline at end of file + 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.