Using histogram or histfit
88 ビュー (過去 30 日間)
Hi, I have a large set of data containing the result of the difference between simulated values and base. I want to illustrate the fit with a histogram and a line of normal distribution N(mu,sigma), where mu=average(difference) and sigma=std(difference). I tried both the commands histogram and histfit and find the difference of the bars striking. Now I'm lost as to what these commands do, here are the graphs I get
How can I amend my histogram with a line of average and standard deviation? If there is room, I would also like to understand the difference in the commands in layman terms.