Learn R Programming

polyapost (version 1.7-1)

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

Version

Install

install.packages('polyapost')

Monthly Downloads

383

Version

1.7-1

License

GPL (>= 2)

Maintainer

Last Published

September 25th, 2024

Functions in polyapost (1.7-1)

feasible

Feasible Solution for a Probability Distribution which must Satisfy a System of Linear Equality and Inequality Constraints.
constrppmn

Estimating a Population Mean Using the Constrained Polya Posterior.
hitrun

Hit and Run Algorithm for Constrained Dirichlet Distribution
polyap

Polya Sampling from an Urn
wtpolyap

Polya Sampling from an Urn with Possibly Unequal Weights
constrppprob

Dependent Sampling from the Uniform Distribution on a Polytope.