probability: Probabilistic Functional Programming

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

The Library allows exact computation with discrete random variables in terms of their distributions by using a monad. The monad is similar to the List monad for non-deterministic computations, but extends the List monad by a measure of probability. Small interface to R plotting.


[Skip to ReadMe]

Properties

Versions0.1, 0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.2.3, 0.2.3.1, 0.2.4, 0.2.4.1, 0.2.5, 0.2.5.1, 0.2.5.2, 0.2.5.2
Change logNone available
Dependenciesbase (>=1.0 && <5), containers (>=0.1 && <0.7), random (>=1.0 && <2), special-functors (==1.0.*), transformers (>=0.0.1 && <0.6), utility-ht (>=0.0.6 && <0.1) [details]
LicenseBSD-3-Clause
AuthorMartin Erwig <erwig@eecs.oregonstate.edu>, Steve Kollmansberger
MaintainerHenning Thielemann <haskell@henning-thielemann.de>
CategoryMath, Monads, Graphics
Home pagehttp://www.haskell.org/haskellwiki/Probabilistic_Functional_Programming
Source repositoryhead: darcs clone http://code.haskell.org/~thielema/probability/
this: darcs clone http://code.haskell.org/~thielema/probability/ --tag 0.2.5.2
UploadedSat Sep 1 10:48:04 UTC 2018 by HenningThielemann

Modules

[Index]

Flags

NameDescriptionDefaultType
splitbase

Choose the new smaller, split-up base package.

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for probability-0.2.5.2

[back to package description]
Probabilistic Functional Programming in Haskell

Contact:
Martin Erwig, Oregon State University, erwig@eecs.oregonstate.edu


These files have been tested with GHC 6.4

Core Library files:

Show.hs		Pretty Printing
ListUtils.hs	
PrintList.hs	
Probability.hs	Core probabilistic module
Visualize.hs	Visualization system for use with R

Examples:

Barber.hs		An example of the queueing system
BayesianNetwork.hs	Implementing Bayesian networks
Boys.hs			A statistical examples
NBoys.hs		A generalized version of the previous
Collection.hs		Collections and two examples:
			Marbles and cards
Dice.hs			Rolling dice
MontyHall.hs		The "Monty Hall" Game (statistical)
Predator.hs		Non-probabilistic, demonstrates visualization
TreeGrowth.hs		A simple tree growth example



Visualize output is placed in the file FuSE.R which can be loaded into the 
R statistical program to see visualizations.

Randomized values can be displayed to the console using the printR 
function, which shows the value from a IO monad function.