1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
|
***********************************
** bridgesampling VERSION 1.1-0 **
***********************************
Changes in bridgesampling Version 1.1-0
Released March 2021
Significant User Visible Changes and New Features
o
Bugfixes
o Fixed subscript out of bounds error, see
https://github.com/quentingronau/bridgesampling/issues/26
o Deactivated stan tests on Windows to avoid CRAN check issues.
***********************************
** bridgesampling VERSION 1.0-0 **
***********************************
Changes in bridgesampling Version 1.0-0
Released February 2020
Significant User Visible Changes and New Features
o Included citation file and references to JSS article
***********************************
** bridgesampling VERSION 0.8-x **
***********************************
Changes in bridgesampling Version 0.8-x
Released December 2019
Significant User Visible Changes and New Features
o Disabled use of mvnfast and revetred back to mvtnorn. see also:
https://github.com/quentingronau/bridgesampling/issues/20
Bugfixes
o Version 0.7-x introduced a bug that prevented a rerunning of the
iterative scheme based on harmonic mean in case maxit was reached.
This bug should now be removed. See:
https://github.com/quentingronau/bridgesampling/issues/18
***********************************
** bridgesampling VERSION 0.7-x **
***********************************
Changes in bridgesampling Version 0.7-x
Released June 2019
Significant User Visible Changes and New Features
o Better error message in case all samples from proposal distribution
evaluate to NA with log_posterior.
Bugfixes
o bridge_sampler more robust in case of extreme numerical values while
running iterative scheme. Addresses #14.
o Better error message in case samples are outside parameter bounds.
***********************************
** bridgesampling VERSION 0.6-x **
***********************************
Changes in bridgesampling Version 0.6-x
Released October 2018
Significant User Visible Changes and New Features
o Added nimble vignette (Hierarchical Normal Example)
o Added accepted JSS version of introductory paper, but kept existing version
as extended version.
Bugfixes
o R CMD check on the package tar.gz should now run without packages that are
in suggests installed (if the corresponding environment variable is set).
Also, all vignettes should compile without suggested packages (achieved by
precalculating the results and then loading them).
***********************************
** bridgesampling VERSION 0.5-x **
***********************************
Changes in bridgesampling Version 0.5-x
Released August 2018
Significant User Visible Changes and New Features
o Added support for nimble objects (http://r-nimble.org/) via
bridge_sampler.MCMC_refClass method. Thanks to Perry de Valpine for his help
in creating this method.
o The print methods for the bf() function now try to deparse the model names
from the user input and use these names instead of x1 and x2.
o Added support for simplex and circular parameters which can be specified
using the new argument param_types of the bridge_sampler function
(thanks to Kees Mulder)
Bugfixes
o
***********************************
** bridgesampling VERSION 0.4-x **
***********************************
Changes in bridgesampling Version 0.4-x
Released December 2017
Significant User Visible Changes and New Features
o More informative error messages for methods due to checking of input values:
- bridge_sampler() methods now check lb and ub.
- bf() methods check class of x2.
- post_prob() checks if only one object of appropriate class is passed.
o Promoted error_measures() to generic function with methods for both
repetitions = 1 and repetitions > 1. In the latter case median and IQR are
reported. The only situation where we can not report error measures is if
repetitions = 1 and method = "warp3".
o Added summary() (and corresponding print.summary) methods for bridge and
bridge_list objects. These methods now always invoke error_measures() and
return a data.frame with both log marginal likelihood and error information.
These methods are described in ?`bridge-methods`.
o Updated bridgesampling vignette to latest version.
Bugfixes
o Retroactively updated the NEWS file.
***********************************
** bridgesampling VERSION 0.3-x **
***********************************
Changes in bridgesampling Version 0.3-x
Released October 2017
Significant User Visible Changes and New Features
o Added a variety of new methods for bridge_sampler() that automatically
extract the posterior samples, but also require a log_posterior function.
Specifically, bridge_sampler() now has methods of this kind for the
following objects: matrix, mcmc.list, rjags, and runjags.
o Added stanreg method to bridge_sampler() which allows to pass objects from
rstanarm. Note that this method requires to specify the diagnostic_file
option, see examples. Thanks to Ben Goodrich for the pull request.
o Added new vignette introducing the package: bridgesampling: An R Package
for Estimating Normalizing Constants
o Added two new data sets plus code used in the new vignette, see ?ier and
?turtles
o Added bayes_factor() as alias for bf(), as bf() is an existing function in
package brms.
o Added use_neff argument to bridge_sampler() which allows to determine
whether the effective sample size or the actual sample size is used for
bridge sampling.
Bugfixes
o bridge_sampler() for stan objects on windows should not fail anymore if
cores > 1. Instead, cores will be set to 1 (with warnings).
***********************************
** bridgesampling VERSION 0.2-x **
***********************************
Changes in bridgesampling Version 0.2-x
Released June 2017
Significant User Visible Changes and New Features
o Added stan_bridge_sampler(), which allows one to obtain the marginal
likelihood directly from a fitted stanfit object that contains posterior
samples. Note that it may be necessary to compile a new stanfit object
without samples if the one with samples was compiled in a different
session/pc. See new vignettes for examples.
o Added repetitions argument to bridge sampler functions which allows to
compute independent bridge sample estimates (based on the same posterior
samples). bridge_sampler() now returns object of class "bridge" for
calculations with repetitions = 1, but an object of class "bridge_list" if
repetitions > 1, the latter contains the full list of estimates (but no q
vectors).
o Renamed compute_post_prob() to post_prob(), which is now a generic function
with methods for bridge objects. The default method allows just logml
values. For "bridge_list" objects (i.e., with repetitions > 1) a matrix of
posterior probabilities with rows for each repetition is returned.
o added new generic function logml() which returns the log marginal likelihood
as a scalar value.
o Multicore computations (i.e., cors > 1) on Unix-like systen (e.g., Mac OS,
Linux) are now performed with forking via parallel::mcapply().
Bugfixes
o compute_post_prob() now works even when exp(logml) initially returns Inf
(solution works via brobdingnag).
o Bridge sampler more robust due to various small improvements and produces
more informative error messages should it fail.
o If log_prob() returns NA, these values are replaced with -Inf on the log
scale (which assumes a likelihood of 0). With warning.
|