haskell-numerics / random-fu

A suite of Haskell libraries for representing, manipulating, and sampling random variables
42 stars 21 forks source link

Provide pdfs and log pdfs (as e.g. R does) #24

Closed idontgetoutmuch closed 9 years ago

idontgetoutmuch commented 9 years ago

There is some tidying one could do e.g. for the pdf and cdc e.g. re-use the pdf in some cases to produce the pdf, the ordinary form of the Normal pdf could really be the default. Let me know your thoughts pro and con providing pdfs. I can't see any downsides myself.

idontgetoutmuch commented 9 years ago

I should have said: here is an example of their usage: http://idontgetoutmuch.wordpress.com/2014/08/23/importance-sampling/