[R] distribution of second order statistic

2003-12-15 Thread Eugene Salinas (R)
Hi, I am getting some weird results here and I think I am missing something. I am trying to program a function that for a set of random variables drawn from uniform distributions plots that distribution of the second order statistic of the ordered variables. (ie I have n uniform distributions

Re: [R] distribution of second order statistic

2003-12-15 Thread Prof Brian Ripley
The order statistics have a beta distribution, so pbeta is all you need. On Mon, 15 Dec 2003, Eugene Salinas (R) wrote: I am getting some weird results here and I think I am missing something. I am trying to program a function that for a set of random variables drawn from uniform