Skip to content

Commit 970c2fd

Browse files
committed
Add details to description of Gamma Dist. as the rate formulation
1 parent 4a68cc0 commit 970c2fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/functions-reference/positive_continuous_distributions.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,13 @@ For a description of argument and return types, see section
368368

369369
### Probability density function
370370

371-
If $\alpha \in \mathbb{R}^+$ and $\beta \in \mathbb{R}^+$, then for $y
371+
If the shape parameter $\alpha \in \mathbb{R}^+$ and the rate (or inverse scale) parameter $\beta \in \mathbb{R}^+$, then for $y
372372
\in \mathbb{R}^+$, \[ \text{Gamma}(y|\alpha,\beta) =
373373
\frac{\beta^{\alpha}} {\Gamma(\alpha)} \, y^{\alpha - 1}
374374
\exp(-\beta \, y) . \]
375375

376+
Under the shape and rate formulation of the Gamma distribution, $E(y) = \alpha/\beta$ and $\var(y) = \alpha/\beta^2$.
377+
376378
### Sampling statement
377379

378380
`y ~ ` **`gamma`**`(alpha, beta)`

0 commit comments

Comments
 (0)