Joint discrete distributions