Skip to content

Commit

Permalink
bootwild : fixed syntax bug that triggered error when printing outp…
Browse files Browse the repository at this point in the history
…ut for asymmetric intervals
  • Loading branch information
acp29 committed May 23, 2024
1 parent fbb9dbe commit ede5f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/bootwild.m
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ function print_output (stats, nboot, alpha, p, L, method)
' bootstrap-t interval\n'));
coverage = 100 * abs (alpha(2) - alpha(1));
fprintf (cat (2, ' Nominal coverage (and the percentiles used):', ...
' %.3g%% (%.1f%%, %.1f%%)\n', coverage, 100 * alpha(:)));
' %.3g%% (%.1f%%, %.1f%%)\n'), coverage, 100 * alpha(:)');
else
% prob is a two-tailed probability
fprintf (cat (2, ' Confidence interval (CI) type: Symmetric', ...
Expand Down

0 comments on commit ede5f99

Please sign in to comment.