Closed richelbilderbeek closed 6 years ago
Hi Richel, All estimates are stochastic, so they slightly differ every time they are re-estimated. So, from that perspective, any of the marginal likelihoods and SDs are valid, and you can take your favourite. The nice thing of nested sampling is that it comes with an estimate of the SD of the marginal likelihood, so that gives you a sense of how confident you can be in the ML estimate.
Likewise, the Max ESS values are stochastic estimates, and these numbers are used to generate a posterior sample of size equal to the Max ESS. But in practice, ESSs can be much smaller (depending on operator weights for example, just like with normal MCMC). The Max ESS value is just a theoretical maximum number. What the true ESS is is an open question.
Cheers, Remco
Great, I can work with that! Thanks!
Thanks to the BEAST2 devs (I guess mostly @rbouckaert?) for this nice piece of work!
What I'd like to see documented, is how to exactly interpret the output.
For example, when running this zipped XML file, I get:
Which of these lines is the marginal likelihood I should use (all copied from above)?
Marginal likelihood: -141.31236790862764 (bootstrap SD=1.4240215445106443)
Marginal likelihood: -140.98848039195855 (subsample SD=1.8638865000383444)
Marginal likelihood: -141.1644574217485(1.1601428428211327)
Marginal likelihood: -141.3000915386624 sqrt(H/N)=(NaN)=?=SD=(1.4593051179523482) Information: -0.19242514244311712
Marginal likelihood: -141.31271098696405 sqrt(H/N)=(NaN)=?=SD=(1.462246661656647) Information: -0.1353639346412825
Which of these lines is the marginal likelihood error estimation to use?
Marginal likelihood: -141.31236790862764 (bootstrap SD=1.4240215445106443)
Marginal likelihood: -140.98848039195855 (subsample SD=1.8638865000383444)
SD: 1.6837225630395305
Marginal likelihood: -141.3000915386624 sqrt(H/N)=(NaN)=?=SD=(1.4593051179523482) Information: -0.19242514244311712
Marginal likelihood: -141.31271098696405 sqrt(H/N)=(NaN)=?=SD=(1.462246661656647) Information: -0.1353639346412825
Which of these lines is the Effective Sample Size to use?
Max ESS: 5.659472090348357
Max ESS: 5.4945059635784155
Thanks, @richelbilderbeek