Need to measure how much is the data concentrated or scattered

530 Views Asked by At

OK. So I have this problem: I have an array of x values corresponding to an array of your values. I want to know when is that data scattered all around and when it's quite concentrated. As can be seen in the picture I attached: the first set of data is really scattered. The second one is pretty concentrated and the last one is concentrated the most. Thanks!! ( I'll try to post the picture in the comment since it wouldn't let me)