Skip to content

Commit

Permalink
Fix wrong parameter on chisq.jl documentation (#1725)
Browse files Browse the repository at this point in the history
there were a "k" left from the old documentation of the chisq.

this commit changes the "k" to a \\nu, making it consistent with the rest of the distribution.
  • Loading branch information
ynhame authored May 21, 2023
1 parent 05dc067 commit 87f323a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univariate/continuous/chisq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The *Chi squared distribution* (typically written χ²) with `ν` degrees of fre
probability density function
```math
f(x; \\nu) = \\frac{x^{\\nu/2 - 1} e^{-x/2}}{2^{\\nu/2} \\Gamma(k/2)}, \\quad x > 0.
f(x; \\nu) = \\frac{x^{\\nu/2 - 1} e^{-x/2}}{2^{\\nu/2} \\Gamma(\\nu/2)}, \\quad x > 0.
```
If `ν` is an integer, then it is the distribution of the sum of squares of `ν` independent standard [`Normal`](@ref) variates.
Expand Down

0 comments on commit 87f323a

Please sign in to comment.