RandomGenerator Package Paclet SymbolMore About »

DiscreteRatioOfUniform

DiscreteRatioOfUniform[f, lb, ub, S, xm, ym, cdfm, n]
gives n random draws from the distributed f(x), truncted to be in the range [lb, ub]. ym=f(xm) and cdfm=CDF(xm) where ym is the maximum of f(xm). f(x) is assumed to be T_ (-1/2) concave, and 1/S is the normalization constant of f(x). By defult, cdfm is not given (-1) and n=1.