Abstract
Consider the intersection of two spaces: the complete solution space to Ax = b and the N-simplex. The intersection of these two spaces is a non-negative convex polytope. The R package walkr samples from this intersection using two Monte-Carlo Markov Chain (MCMC) methods: hit-and-run (Kannan and Narayanan 2009) and Dikin walk (Vempala 2005). Walkr also provide tools to examine sample quality (Gabry 2015). MCMC sampling is of great interest in applied statistics, as it is a common approach to sample data drawn from a theoretical distribution (Gelman and Rubin 1992). In application, walkr will be a powerful tool for estimating expectations for Bayesian statistics. The walkr package will also be found useful by users who are interested in generating random weight vectors in high dimensions given specific constraints.
Cite
CITATION STYLE
Yu Zhu Yao, A., & Kane, D. (2017). walkr: MCMC Sampling from Non-Negative Convex Polytopes. The Journal of Open Source Software, 2(11), 61. https://doi.org/10.21105/joss.00061
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.