How To Calculate Marginal Distribution