How To Calculate Weighted Distribution