Skip to content

Commit cb0f03c

Browse files
authored
Merge pull request #936 from d-torrance/normal-approx-to-binomial
Increase minimum z-score of normal approx. to binomial dist. problem
2 parents 5a61ce9 + f0a4e8b commit cb0f03c

File tree

1 file changed

+1
-1
lines changed
  • Contrib/Piedmont/StevensStatistics/6-ContinuousProbabilityDistributions

1 file changed

+1
-1
lines changed

Contrib/Piedmont/StevensStatistics/6-ContinuousProbabilityDistributions/6.5.13.pg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $p = 0.48;
3434
$q = 1 - $p;
3535
$mu = Compute($n*$p);
3636
$sigma = Compute(sqrt($n*$p*$q));
37-
$x = random(round(-3.5*$sigma + $mu), round(-2*$sigma+$mu));
37+
$x = random(round(-3.4*$sigma + $mu), round(-2*$sigma+$mu));
3838

3939
$z = Compute(($x - $mu)/$sigma)->with(
4040
tolType => 'absolute',

0 commit comments

Comments
 (0)