| NEWS | R Documentation |
NEWS file for the MBBEFDLite package
Version 1.0.0 (2026-03-10)
Added
-
Breaking: Added a form of Algorithm 3 in Bernegger (2026) to
mommb. Instead of a grid-search, the LS algorithm is a nested pair of 1-dimensional line searches alonggandb. Experimentation shows that it almost always converges to the “same” values—close to machine precision—as the original expectation-maximization (EM) algorithm, and fails to converge in similar scenarios as the EM algorithm. Provided for completeness and in gratitude to Dr. Bernegger. -
Breaking: Added new parameters
maxb,minb,maxg, andming. Themaxbparameter is used in both fitting algorithms. The others are only used in the LS algorithm. Added a fast C implementation of the dilogarithm function for use in the LS algorithm.
Added more informative error messages.
Added and updated unit tests.
Changed
-
Breaking: Given the additional algorithm and parameters, the call for
mommbhas been changed. See the documentation for the new order of parameters and the options list. This is the first “mature” release. Any breaking changes going forward will be announced in advance and will have a deprecation period. Hardened and optimized underlying C and R code for speed and error protection.
Fixed
Fixed errors in the documentation including copy-paste errors referencing
rnorminstead ofrmb, etc.
Version 0.1.0 (2026-01-07)
Added
-
Breaking: The
mommbalgorithm now calculatesE[x^2]as(E[x]) ^ 2 + Var[x]instead of directly. Using the unbiased estimator allows for a slightly larger initial estimate. Given that the algorithm fails earlier, this allows for a slightly larger legal starting location. The results are functionally identical, but not always equal within machine tolerances, so the change is breaking. -
Breaking: The
mommbalgorithm now allows for passing a couplet consisting of the first two raw moments throughxwhen new parametermis set toTRUE. WhenmisFALSE, the default,xis treated as a vector of observations regardless of its length. This is breaking as the positions of the parameters has now changed. A new parameter
tracehas been added that whenTRUEwill causemommbto print the values ofgandbat each iterationi.
Changed
-
Breaking: The
mommbalgorithm now fails immediately when the integration would imply a negativep, instead of restarting with a differentg. Experimentation indicates that the restart never helped. Made
tolinmommba bit less intrusive by passingNULLand then checking for it.Use R API
Memzeroinstead ofmemset.Changed GitHub-related files and workflows.
Updated unit tests.
Version 0.0.5 (2025-01-31)
Changed
Replaced
\()shorthand with fullfunctioncall inmommbto remove dependency on R\ge4.1.0.Updated package metadata test.
Changed
Use
log1pinstead oflog 1.0 + ...where appropriate.
Version 0.0.4 (2024-07-24)
Fixed
Corrected documentation in
ecmb.Fixed one unit test.
Changed
Use
log1pinstead oflog 1.0 + ...where appropriate.
Version 0.0.3 (2024-06-20)
Changed
Adjust R code for
mommbto be more efficient.Update documentation.
Use native CRAN DOI.
Expand package metadata tests.
Version 0.0.2 (2024-05-16)
Fixed
Corrected package link in ‘CITATION’.
Removed extra parentheses in description of
gin docs.
Added
Expanded documentation of
ecmb.Added DOI.
Version 0.0.1 (2024-05-14)
Initial release.