I am trying to calculate some statistics using binned data where each bin is an integer. In the example data below, there are two observations (e.g., the data for two histograms