Apply the inverse- transform method to generate a random variable from the discrete uniform distribution with p.d.f
Fantastic news! We've Found the answer you've been seeking!
Question:
Apply the inverse- transform method to generate a random variable from the discrete uniform distribution with p.d.f
f(x)=1/(n+1):x=0,1,…,n and f(x)=0:x≠0,1,…,n
Related Book For
Value at Risk The New Benchmark for Managing Financial Risk
ISBN: 978-0071464956
3rd edition
Authors: Philippe Jorion
Posted Date: