haskell-numerics / random-fu

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

Add pdfs #20

Closed idontgetoutmuch closed 8 years ago

idontgetoutmuch commented 10 years ago

In R one can sample e.g. from the normal distribution with rnorm and calculate the pdf and cdf at a point with dnorm and pnorm. In random-fu, we have cdf. Can we add a new class PDF(?) so that we can also have pdfs?

rpglover64 commented 8 years ago

This issue should be closed now, right?

idontgetoutmuch commented 8 years ago

Well yes but I haven't given all distributions a pdf instance. I guess I should open a new issue which explicitly lists the missing pdfs and then we can add them as we implement them.