how to write out a probability distribution