Thanks to Kit Baum an update of nb_adjust (version 2.13) is available on SSC.
nb_adjust identifies and adjusts (or removes) outliers in a count variable, assuming that the values follow a negative binomial distribution. For more information, see the corresponding help file.
In the previous version, specifying a seed did not guarantee identical results, since the seed would also have had to be used to set set sortseed. This has been fixed. In addition, a reference to an example of using nb_adjust has been added to the help file.
By the way: It would be helpful if a note were added to the Stata documentation for set seed and mata: rseed() stating that there may be situations in which set sortseed is also required to ensure reproducible results. See also the posts by Brendan Halpin "Setting random seed is not enough?"
nb_adjust identifies and adjusts (or removes) outliers in a count variable, assuming that the values follow a negative binomial distribution. For more information, see the corresponding help file.
In the previous version, specifying a seed did not guarantee identical results, since the seed would also have had to be used to set set sortseed. This has been fixed. In addition, a reference to an example of using nb_adjust has been added to the help file.
By the way: It would be helpful if a note were added to the Stata documentation for set seed and mata: rseed() stating that there may be situations in which set sortseed is also required to ensure reproducible results. See also the posts by Brendan Halpin "Setting random seed is not enough?"
