Computing marginal likelihoods in Stan, from Quentin Gronau and E. J. Wagenmakers
Gronau and Wagemakers write: The bridgesampling package facilitates the computation of the marginal likelihood for a wide range of different statistical models. For models implemented in Stan (such that the constants are retained), executing the code bridge_sampler(stanfit) automatically produces an … Continue reading