HARK icon indicating copy to clipboard operation
HARK copied to clipboard

Discretize Method for Discrete Distributions.

Open alanlujan91 opened this issue 2 years ago • 0 comments

What should the dist.discretize(***) method do for discrete distributions?

My first idea was to return a copy of self, since the distribution is already discrete.

My second idea is that now that DiscreteDistributions and derivatives have the limit attribute, the dist.discretize(***) method could be used to generate a different discretization of the upstream distribution, by changing N, method, endpoints, or any other keyword that generated the discretization.

alanlujan91 avatar Jan 11 '23 02:01 alanlujan91