1- *! boottest 2.3.6 4 December 2018
2- *! Copyright (C) 2015-18 David Roodman
1+ *! boottest 2.3.7 7 January 2019
2+ *! Copyright (C) 2015-19 David Roodman
33
44* This program is free software: you can redistribute it and/or modify
55* it under the terms of the GNU General Public License as published by
@@ -512,7 +512,7 @@ program define _boottest, rclass sortpreserve
512512 constraint `r(free)' `_constraint'
513513 }
514514
515- cap `= cond(" `quietly'" == " " , " noisily" , " " )' `anything' if `hold' `= cond(" `weight'" == " " ," " ,`" [`weight'`exp']"' )', constraints(`_constraints') `from' `init' `iterate' `max' `options'
515+ cap `= cond(" `quietly'" == " " , " noisily" , " " )' `= cond( " `cmd' " == " tobit " , " version 15: " , " " )' ` anything' if `hold' `= cond(" `weight'" == " " ," " ,`" [`weight'`exp']"' )', constraints(`_constraints') `from' `init' `iterate' `max' `options'
516516 local rc = _rc
517517 constraint drop `_constraints'
518518 if e(converged)== 0 {
@@ -522,7 +522,7 @@ program define _boottest, rclass sortpreserve
522522 if ! `rc' {
523523 tempname b0
524524 mat `b0' = e(b)
525- cap `anything' if e(sample), `= cond(inlist(" `cmd'" ," cmp" ," ml" )," init(`b0')" ," from(`b0',skip)" )' iterate(0) `options' `max'
525+ cap `= cond( " `cmd' " == " tobit " , " version 15: " , " " )' ` anything' if e(sample), `= cond(inlist(" `cmd'" ," cmp" ," ml" )," init(`b0')" ," from(`b0',skip)" )' iterate(0) `options' `max'
526526 local rc = _rc
527527 }
528528 if `rc' {
@@ -737,6 +737,7 @@ program define _boottest, rclass sortpreserve
737737end
738738
739739* Version history
740+ * 2.3.7 Fixed crash after tobit estimation in Stata 15
740741* 2.3.6 Fixed crash in score test/bootstrap with multiple independent hypotheses
741742* 2.3.5 Fixed stupid 2.3.4 crash
742743* 2.3.4 Dropped "Rejection" from axis labels. Added check for right number of entries in gridmin(), gridmax(), gridpoints().
0 commit comments