Serving the Quantitative Finance Community

 
User avatar
raffapi
Topic Author
Posts: 0
Joined: April 10th, 2003, 6:22 pm

Geometric Distribution

November 5th, 2004, 3:49 pm

Hi all,I want to generate random number from a geometric distribution, how can I do please? Thanks
 
User avatar
Aaron
Posts: 4
Joined: July 23rd, 2001, 3:46 pm

Geometric Distribution

November 8th, 2004, 1:57 pm

For parameter p, compute (in Excel):=int(ln(x)/ln(1-p) - ln(p))