Welch's t-test: Difference between revisions

Content added Content deleted
m (→‎Using Burkardt's betain: cleaned up testing)
m (→‎Using Burkardt's betain: fix so it actually compiles)
Line 1,336: Line 1,336:
[< 0/44.0 42/94.0 0/22.0>],
[< 0/44.0 42/94.0 0/22.0>],
) -> @left, @right {
) -> @left, @right {
my $pvalue = p-value @left, @right;
my $pvalue = pvalue @left, @right;
printf("p-value = %.14g\n",$pvalue);
printf("p-value = %.14g\n",$pvalue);
$error += abs($pvalue - shift @answers);
$error += abs($pvalue - shift @answers);