Generate a sequence of random numbers that sum up to 1?
- From: Anthony Liu <antonyliu2002@xxxxxxxxx>
- Date: Fri, 21 Apr 2006 19:36:23 -0700 (PDT)
I am at my wit's end.
I want to generate a certain number of random numbers.
This is easy, I can repeatedly do uniform(0, 1) for
example.
But, I want the random numbers just generated sum up
to 1 .
I am not sure how to do this. Any idea? Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
.
- Follow-Ups:
- Re: Generate a sequence of random numbers that sum up to 1?
- From: fumanchu
- Re: Generate a sequence of random numbers that sum up to 1?
- From: Gerard Flanagan
- Re: Generate a sequence of random numbers that sum up to 1?
- From: Edward Elliott
- Re: Generate a sequence of random numbers that sum up to 1?
- From: Mel Wilson
- Re: Generate a sequence of random numbers that sum up to 1?
- Prev by Date: Re: String To Dict Problem
- Next by Date: Re: String To Dict Problem
- Previous by thread: Re: String To Dict Problem
- Next by thread: Re: Generate a sequence of random numbers that sum up to 1?
- Index(es):