Unformatted text preview: pmax function which takes the maximum value elementwise in an array. > vector1 < c(1, 7, 8, 1, 2) > vector2 < c(1, 4, 1, 2, 3) > max(vector1, vector2) > [1] 8 > pmax(vector1, vector2) > [1] 1 7 8 2 3 (b) Analytically: ﬁnd the probability that three random U[0,1] sticks will form a triangle. [Hint: the easiest way I found to do this was to start by assuming one of the values (say C ) was the biggest one. Then to generalize I realized that any of the values could have been the biggest one. It is much harder to approach this problem using the theory of order statistics.]...
View
Full
Document
This note was uploaded on 02/17/2012 for the course MATH 151 taught by Professor Jo.h during the Spring '10 term at Pomona College.
 Spring '10
 JO.H
 Math, Probability

Click to edit the document details