BESH Stat v0.18 (2023-02-04)

Download is available until [expire_date]
  • Version
  • Download 34
  • File Size 2.12 MB
  • File Count 1
  • Create Date February 4, 2023
  • Last Updated February 4, 2023

BESH Stat v0.18 (2023-02-04)

BESH Stat v0.18 (2023-02-04)

Main change is the addition of Zero-Inflated Poisson regression model as described in [1].

What's new?

  • Zero-Inflated Poisson regression model that required few more changes internally mentioned below
  • Poisson regression NULL deviance formula update to match [R] GLM function result in case of response variable [y] containing zero values. I that case contribution to the deviance is equal to = 2*(y * ln(1/mu) - (y-mu)). Similar update was made to deviance residuals computation.
  • Logistic regression routine updated to accept response variable values in [0, 1] interval it does not need to be 0's 1's output as before. This update was needed to implement zero-inflated-poisson (ZIP) regression model estimation using the expectation-maximization (EM) algorithm.
  • Complete redesign of Poisson and Logistic regression IRLS algorithm (internally) to accept externally provided starting parameter values and weights. This update was needed to implement ZIP regression model estimation using the (EM algorithm).
  • If cancel button is clicked while (Poisson, Logistic, Multinomial Logistic, Ordinal Logistic, or ZIP regression) then calculation if aborted and userform closed. In previous version just the userform was closed but computation continued in the background. (Note that however, the Cox regression still behaves the "old" way as it require more changes in the code to implement. I put it on my TODO list.)


  1. Diane Lambert. Zero-Inflated Poisson Regression, With an Application to Defects in Manufacturing. Technometrics, Feb1992, 34.1

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.