passage-0.1: Parallel code generation for hierarchical Bayesian modeling.

Language.Passage.UI

Synopsis

Documentation

normal :: Expr -> Expr -> BayesianNetwork ExprSource

A normal distribution, with a mean and precision

uniform :: Expr -> Expr -> BayesianNetwork ExprSource

bernoulli :: Expr -> BayesianNetwork ExprSource

A Bernoulli distribution with a mean

beta :: Expr -> Expr -> BayesianNetwork ExprSource

A beta distribution with the given prior sample sizes.

dgamma :: Expr -> Expr -> BayesianNetwork ExprSource

A gamma distribution with the given prior sample sizes.

chiSquare :: Expr -> BayesianNetwork ExprSource

A chi-square distribution with the given degrees of freedom.

dexp :: Expr -> BayesianNetwork ExprSource

An exponential distribution with the given rate (inverse scale)

studentT :: Expr -> BayesianNetwork ExprSource

A Student's T distribution, given the degrees of freedom.

improperUniform :: BayesianNetwork ExprSource

An improper uniform distribution; has no impact on likelihood