hstatistics-0.2.5.3: Statistics

Copyright(c) A. V. H. McPhail 2010, 2014
LicenseBSD3
Maintainerhaskell.vivian.mcphail <at> gmail <dot> com
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Numeric.Statistics.PDF

Contents

Description

Probability Distribution Function interface

Synopsis

PDF

data PDFFunction a Source

a probability distribution function

a PDF interface

Instances

class PDF b a where Source

Methods

probability :: b -> Vector a -> Vector Double Source

calculate a probability

Creation

pdfFromFunction :: (a -> Double) -> PDFFunction a Source

create a PDF from an arbtrary function f :-> [0,1]