Closed Hardwarize closed 1 year ago
I think that there is an error in the T-value formula in the Resampled paired t test doc page.
It seems that, in the denominator, p is raised to (i) - p
I think that this: $$t = \frac{\overline{p} \sqrt{k}}{\sqrt{\sum_{i=1}^{k}(p^{(i) - \overline{p}})^2 / (k-1)}}.$$
should be replace by this: $$t = \frac{\overline{p} \sqrt{k}}{\sqrt{\sum_{i=1}^{k}(p^{(i)} - \overline{p})^2 / (k-1)}}.$$
Thanks for this amazing library!
Thanks a lot for the note! You are right, that was a formatting issue. Just fixed it via #976
Describe the documentation issue
I think that there is an error in the T-value formula in the Resampled paired t test doc page.
It seems that, in the denominator, p is raised to (i) - p
Suggest a potential improvement or addition
I think that this: $$t = \frac{\overline{p} \sqrt{k}}{\sqrt{\sum_{i=1}^{k}(p^{(i) - \overline{p}})^2 / (k-1)}}.$$
should be replace by this: $$t = \frac{\overline{p} \sqrt{k}}{\sqrt{\sum_{i=1}^{k}(p^{(i)} - \overline{p})^2 / (k-1)}}.$$
Thanks for this amazing library!