Skip to content

hhau/wsre

Repository files navigation

wsre: weighted-sample self-density ratio estimation

This package implements the methodology developed in A numerically stable algorithm for integrating Bayesian models using Markov melding. This package provides two functions:

  1. wsre() for estimating the self-density ratio of interest,
  2. evaluate() for evaluating the output of wsre().

See the vignette for details on using these functions. I'd also suggest looking at the tests, particularly:

  1. test_evaluate for additional examples on calling evaluate(), particularly in 2 or more dimension,
  2. test_wsre-main for more simple example calls to wsre().

Dev workflow

If a .stan file has been modified, call:

devtools::load_all()

if not, proceed straight to:

devtools::document()
devtools::test()
devtools::install()

Sometimes the NAMESPACE file will get out of sync. It will need to be deleted, and devtools::document() has to be run before devtools::load_all().

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published