Welch's t-test: Difference between revisions

Content added Content deleted
Line 189: Line 189:
integrate and simpson are from the [[Numerical_integration#J|Numerical integration]] task.
integrate and simpson are from the [[Numerical_integration#J|Numerical integration]] task.


lngamma is from http://www.jsoftware.com/pipermail/programming/2015-July/042174.html
lngamma is from http://www.jsoftware.com/pipermail/programming/2015-July/042174.html -- for values less than some convenient threshold (we use 1, but we could use a modestly higher threshold), we calculate it directly. For larger values we compute the fractional part directly and rebuild the log of the factorial using the sum of the logs.


mean is classic J - most J tutorials will include this
mean is classic J - most J tutorials will include this