Question: Comparing how well a distribution fits a histogram


i have plotted a histogram and then fitted a uniform distribution curve. I need to compare how well the distribution fits the histogram. We are allowed to use the statistics package but i am nit sure how to do that. Not my image but just showing what I get approximately. I just need to quantify how well the red line fits the histogram. 


Many thanks 


Please Wait...