equation for probability of y1