A GENERAL METHOD TO ESTIMATE CORRELATED DISCRETE RANDOM VARIABLES