Talk:Statistics/Chi-squared distribution: Difference between revisions
Talk:Statistics/Chi-squared distribution (view source)
Revision as of 19:02, 17 February 2024
, 4 months ago→Chi-squared cumulative probability distribution: Changed to Wren S/H
m (→Chi-squared cumulative probability distribution: Changed to Wren S/H) |
|||
Line 4:
According to Wikipedia, for the case k = 2, this formula reduces to F(x; 2) = 1 - exp(-x/2). But for values of x from 0 to 10, the only way I can get this simple formula to agree with the one in the task description is if I halve 'x' first before applying the latter. Here's the Wren code I have so far in case I'm missing something or have done something silly:
<syntaxhighlight lang="
import "./fmt" for Fmt
|