Talk:Verify distribution uniformity/Chi-squared test: Difference between revisions

Content added Content deleted
Line 45: Line 45:
In the Ruby version of gammaInc_Q, near the end there is a few lines
In the Ruby version of gammaInc_Q, near the end there is a few lines



```(n-1).step(0, -1) do |j|
t = h * j
(n-1).step(0, -1) do |j|
t = h * j
t = h * j
sum += f0[t] + hh * df0[t]
sum += f0[t] + hh * df0[t]