Skip to content

Commit 58ed049

Browse files
committed
Fixed CI scaling issue introduced in 2.0.5 that affects scoretest, waldtest
1 parent efb80de commit 58ed049

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

boottest.ado

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*! boottest 2.1.3 28 June 2018
1+
*! boottest 2.1.4 2 July 2018
22
*! Copyright (C) 2015-18 David Roodman
33

44
* This program is free software: you can redistribute it and/or modify
@@ -704,6 +704,7 @@ program define _boottest, rclass sortpreserve
704704
end
705705

706706
* Version history
707+
* 2.1.4 Fixed CI scaling issue introduced in 2.0.5 that affects scoretest, waldtest
707708
* 2.1.3 Fixed crash on testing of multiple independent hypotheses on ML models
708709
* Added more return values and Roodman et al. cite to help file. Blocked warning about \alpha(B+1) being an integer for Rademacher with <=12 groups.
709710
* 2.1.2 Fixed error in removing half-counting of ties in 2.0.6

boottest.mata

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*! boottest 2.1.2 18 June 2018
1+
*! boottest 2.1.4 2 July 2018
22
*! Copyright (C) 2015-18 David Roodman
33

44
* This program is free software: you can redistribute it and/or modify
@@ -1410,9 +1410,8 @@ void boottestModel::plot() {
14101410
}
14111411
else {
14121412
t = abs(numer/Dist) * (small? -invttail(df_r, alpha/2) : invnormal(alpha/2))
1413-
lo = gridstart<.? gridstart : numer/u_sd + *pr0 + t
1414-
hi = gridstop <.? gridstop : numer/u_sd + *pr0 - t
1415-
1413+
lo = gridstart<.? gridstart : (numer + t)/u_sd + *pr0
1414+
hi = gridstop <.? gridstop : (numer - t)/u_sd + *pr0
14161415
if (scoreBS & !null & !willplot) { // if doing simple Wald test with no graph, we're done
14171416
CI = lo, hi
14181417
return

0 commit comments

Comments
 (0)