TruncatedBetaDist¶
-
class
hail.stats.
TruncatedBetaDist
(a, b, min, max)[source]¶ Represents a truncated beta distribution with parameters a and b and support [min, max]. Draws are made via rejection sampling, i.e. returning the first draw from Beta(a,b) that falls in [min, max]. This procedure may be slow if the probability mass of Beta(a,b) over [min, max] is small.
Methods
__init__
Initialize self.