Git Product home page Git Product logo

anmc's Introduction

anMC

CRAN status

anMC is a R package to efficiently compute orthant probabilities of high-dimensional Gaussian vectors. The method is applied to compute conservative estimates of excursion sets of functions under Gaussian random field priors. This is an upgrade on the previously existent package ConservativeEstimates. See the paper Azzimonti, D. and Ginsbourger D. (2018) for more details.

Features

The package main functions are:

  • ProbaMax: the main function for high dimensional othant probabilities. Computes P(max X > t), where X is a Gaussian vector and t is the selected threshold. The function computes the probability with the decomposition explained here. It implements both the GMC and GANMC algorithms. It allows user-defined functions for the core probability estimate (defaults to pmvnorm of the package mvtnorm) and the truncated normal sampler (defaults to trmvrnorm_rej_cpp) required in the method.

  • ProbaMin: analogous of ProbaMax but used to compute P(min X < t), where X is a Gaussian vector and t is the selected threshold. This function computes the probability with the decomposition explained here. It implements both the GMC and GANMC algorithms.

  • conservativeEstimate : the main function for conservative estimates computation. Requires the mean and covariance of the posterior field at a discretization design.

Installation

To install the latest version of the package run the following code from a R console:

if (!require("devtools"))
  install.packages("devtools")
devtools::install_github("dazzimonti/anMC")

References

Azzimonti, D. and Ginsbourger, D. (2018). Estimating orthant probabilities of high dimensional Gaussian vectors with an application to set estimation. Journal of Computational and Graphical Statistics, 27(2), 255-267. DOI: 10.1080/10618600.2017.1360781. Preprint at hal-01289126

Azzimonti, D. (2016). Contributions to Bayesian set estimation relying on random field priors. PhD thesis, University of Bern. Available at link

anmc's People

Contributors

dazzimonti avatar

Watchers

 avatar  avatar  avatar

Forkers

ychwang0331

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.