Suppose that Y and Z are random variables with Y ∼ Bernoulli(p) and Z = −Y + 1.
Find the joint probability mass function P(Y = y, Z = z) for y = 0, 1 and z = 0, 1
I see that when Y = 0, Z = 1 and when Y = 1, Z = 0 but I don't know where to go from here. Any tips?