Skip to content

Commit

Permalink
Merge pull request #829 from lingium/add-beta-neg-binomial-lccdf
Browse files Browse the repository at this point in the history
add beta_neg_binomail docs
  • Loading branch information
WardBrian authored Nov 22, 2024
2 parents 82c0051 + 4fd4c52 commit fe9c506
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/functions-reference/unbounded_discrete_distributions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -618,4 +618,35 @@ The log beta negative binomial probability mass of `n` given parameters `r`, `al

`real` **`beta_neg_binomial_lupmf`**`(ints n | reals r, reals alpha, reals beta)`<br>\newline
The log beta negative binomial probability mass of `n` given parameters `r`, `alpha` and `beta` dropping constant additive terms.
{{< since 2.36 >}}

<!-- real; beta_neg_binomial_cdf; (ints n | reals r, reals alpha, reals beta); -->
\index{{\tt \bfseries beta\_neg\_binomial\_cdf }!{\tt (ints n \textbar\ reals r, reals alpha, reals beta): real}|hyperpage}

`real` **`beta_neg_binomial_cdf`**`(ints n | reals r, reals alpha, reals beta)`<br>\newline
The beta negative binomial cumulative distribution function of `n` given parameters `r`, `alpha` and `beta`.
{{< since 2.36 >}}

<!-- real; beta_neg_binomial_lcdf; (ints n | reals r, reals alpha, reals beta); -->
\index{{\tt \bfseries beta\_neg\_binomial\_lcdf }!{\tt (ints n \textbar\ reals r, reals alpha, reals beta): real}|hyperpage}

`real` **`beta_neg_binomial_lcdf`**`(ints n | reals r, reals alpha, reals beta)`<br>\newline
The log of the beta negative binomial cumulative distribution function of `n` given parameters `r`, `alpha` and `beta`.
{{< since 2.36 >}}

<!-- real; beta_neg_binomial_lccdf; (ints n | reals r, reals alpha, reals beta); -->
\index{{\tt \bfseries beta\_neg\_binomial\_lccdf }!{\tt (ints n \textbar\ reals r, reals alpha, reals beta): real}|hyperpage}

`real` **`beta_neg_binomial_lccdf`**`(ints n | reals r, reals alpha, reals beta)`<br>\newline
The log of the beta negative binomial complementary cumulative distribution function of `n` given parameters `r`, `alpha` and `beta`.
{{< since 2.36 >}}

<!-- R; beta_neg_binomial_rng; (reals r, reals alpha, reals beta); -->
\index{{\tt \bfseries beta\_neg\_binomial\_rng }!{\tt (reals r, reals alpha, reals beta): R}|hyperpage}

`R` **`beta_neg_binomial_rng`**`(reals r, reals alpha, reals beta)`<br>\newline
Generate a beta negative binomial variate with parameters `r`, `alpha` and `beta`;
may only be used in transformed data and generated quantities blocks.
`r` $\cdot$ `beta` $/$ (`alpha`$-1$) must be less than $2 ^ {29}$. For a description of argument and
return types, see section [vectorized function signatures](conventions_for_probability_functions.qmd#prob-vectorization).
{{< since 2.36 >}}

0 comments on commit fe9c506

Please sign in to comment.