Calculation and Analysis of Relative Frequency