結果 : how to calculate joint probability density function