Given a histogram of some data, such as e.g. in the following sample
sample = Import["https://pastebin.com/raw/yFJa87Hn", "RawJSON"];
I can make a histogram:
I am looking for ways to automatically find bounds on the histogram distributions, such as I manually added in the following picture:
Note that the bounds are a bit fuzzy, strictly outside the distribution when the edge is sharp and high, but reaching a bit inside the distribution when the falloff has a soft "tail".
Can this be done in Mathematica? What would be a good approach?