How To Calculate Probability Mass Function