Implement general discrete real distribution (like nominal)
Closed this issue · 2 comments
fsaad commented
In the syntax " x >> dict", we should check whether the keys of the dictionary are numeric or symbolic to determine which constructor to call.
fsaad commented
Follow the template from https://github.com/scipy/scipy/blob/v0.15.1/scipy/stats/_discrete_distns.py
fsaad commented
Specifically, we should expose the constructor: rv_discrete(values=((1,2), (.3,.7)))