Re: Generate a sequence of random numbers that sum up to 1?
- From: "Terry Reedy" <tjreedy@xxxxxxxx>
- Date: Mon, 24 Apr 2006 02:35:11 -0400
"fumanchu" <fumanchu@xxxxxxxx> wrote in message
news:1145825688.099549.195040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm surprised noone has pursued a course of subtraction rather than
division.
I believe someone did mention the subtraction method in one of the initial
responses. But the problem is this. If you independently sample n numbers
from a given distribution and then rescale, then the scaled numbers still
all have the same distribution (and are uniform in that sense). In the
subtraction method, each comes from a differnt distribution, as others
explained, with the nth being radically different from the first.
Terry Jan Reedy
.
- References:
- Generate a sequence of random numbers that sum up to 1?
- From: Anthony Liu
- Re: Generate a sequence of random numbers that sum up to 1?
- From: fumanchu
- Generate a sequence of random numbers that sum up to 1?
- Prev by Date: Re: MS VC++ Toolkit 2003, where?
- Next by Date: MinGW and Python
- Previous by thread: Re: Generate a sequence of random numbers that sum up to 1?
- Next by thread: Re: Generate a sequence of random numbers that sum up to 1?
- Index(es):