Suppose that Y1,...,Yn is a random sample from Bernoulli(p). Find the distributions of Y(1)=min{y1,...,yn} and Y(n)=max{y1,...,yn}.
order statistics... look it up
Wow, so helpful.
If I knew what do with it, I wouldn't be here....
well, since it's bernoulli, it may simplify a bit. bernoulli is 1 with probability p. so the y's will either be 0's or 1's. Are the bernoulli's iid?
and its' the \[y_i\] which are bernoulli, yeah? not the \[Y_i\]
capital Y's throughout.
what's iid?
independent, identically distributed
ah yes, they are. Bernoulli's are defined as independent. and their dist. is identical as stated in the problem.
so Y_(1) can either be 0 or 1. it can be 1 iff all of the bernoulli's are 1, ow it's 0. P(Y_(1)=1)=P(all Y's are 1) = p^n => P(Y_(1)=0)=1-p^n
for the max, you approach the other way round... P(Y_(n)=0) = P(all of the Y's are 0) = (1-p)^n P(Y_(n) = 1) = 1-(1-p)^n
So they're both Bernoulli with a different p. For Y_(1) it's Bernoulli (p^n) and for Y_(n) it's Bernoulli [(1-p)^n]
oops, i mean 1-(1-p)^n for Y_(n)
does that make sense?
Kind of
let's focus on the min...\[Y_{(1)}\] it's either going to be 0 or 1, right?
right
so, how can it be 1? in other words, what has to happen in order for it to be 1?
all would have to be 1
thus the probability of that is p^n due to the independence
right and since they're iid, =>\[ P(\text{all }Y_i \text{'s} = 1) = p \cdot p \cdot p \cdot (\cdots) \cdot p \,\,\text{(n \times)} = p^n\]
but if the min is = 0?
then since \[Y_{(1)}\] can only be 0 or 1, \[P(Y_{(1)}=0)=1-p^n\]
thus, \[Y_{(1)}\sim\text{Bernoulli }(p^n)\]
It's Bernoulli(p^n) because...?
it can only be 0 or 1, right?
yep and it's 1("success") with probability p^n
got it.
so now go over the max... and make sure you get that one too.
good question... made me have to go into the deep recesses of my memory!
it's Bernoulli with p =1-(1-p)^n
yep, you understand how we got that?
yeah, similar to the MIN, but start with Y=0
you got it... all Y_i's are 0 in order for Y_(n) to be 0
=>P( Y_(n)=0) = (1-p)^n thus P(Y_(n)=1) = 1 - (1-p)^n ("success")
Thanks!
have a look at this for other order stats...
thanks for the question!
Join our real-time social learning platform and learn together with your friends!