RDocumentation
Moon
Learn R
Search all packages and functions
polyapost (version 1.7)
Simulating from the Polya Posterior
Description
Simulate via Markov chain Monte Carlo (hit-and-run algorithm) a Dirichlet distribution conditioned to satisfy a finite set of linear equality and inequality constraints (hence to lie in a convex polytope that is a subset of the unit simplex).
Copy Link
Copy
Link to current version
Version
Version
1.7
1.6
1.5
1.4-3
1.4-2
1.1-6
1.1-5
1.1-2
1.1-1
Down Chevron
Install
install.packages('polyapost')
Monthly Downloads
288
Version
1.7
License
GPL (>= 2)
Maintainer
Glen Meeden
Last Published
October 7th, 2021
Functions in polyapost (1.7)
Search functions
constrppprob
Dependent Sampling from the Uniform Distribution on a Polytope.
wtpolyap
Polya Sampling from an Urn with Possibly Unequal Weights
constrppmn
Estimating a Population Mean Using the Constrained Polya Posterior.
polyap
Polya Sampling from an Urn
feasible
Feasible Solution for a Probability Distribution which must Satisfy a System of Linear Equality and Inequality Constraints.
hitrun
Hit and Run Algorithm for Constrained Dirichlet Distribution