Density function obtained from multiple conditioning

58 Views Asked by At

Let X follows U(0,1) and Y given X follows bernoulli with success probability x Let Z=X if Y=1 otherwise the experiment is performed until a pair (X,Y) with Y=1 is obtained.Calculate pdf of Z on (0,1)

there are three random variables Y,X and N where N is the number of trials until Y=1 N follows Geo(1/2) but cant use conditioning properly to calculate pdf of z help!