Skip to content
Prev 276586 / 398506 Next

Dunif and Punif

In short, the unif() distribution corresponds to the continuous
uniform distribution, not the discrete.

Longer: dDIST() doesn't give a pmf so summing it isn't what you are
looking for: it gives a pdf. For punif() consider P\{X <= 1\} when X
is distributed on [1, 10]. Clearly this has probability zero because
it can only occur for one out of uncountably many values -- though
this notion should be made more precise using a little bit of measure
theory.

Michael


On Mon, Nov 7, 2011 at 11:49 AM, michele donato
<michele.donato at wayne.edu> wrote: