truncate
- scipy.stats.truncate(X, lb=-inf, ub=inf)
Truncate the support of a random variable.
Given a random variable X,
truncatereturns a random variable with support truncated to the interval between lb and ub. The underlying probability density function is normalized accordingly.- Parameters: