# Size of the data set for measuring variation

This might be a simple question but I am unable to find a solution on the web. I would like to measure variation of some numerical data. What is the minimum number of values I should use for measuring their standard deviation or coefficient of variation? Basically my plan is to derive groups from a set of performance metric values (all are positive integers). I would like to choose "variation" measure for grouping. My idea is as follows: For example, I have 16 positive integer numbers. First I would like to sort them then divide them as four groups. Each group contains 4 integers and I will calculate variation in terms of either standard deviation or coefficient of variation. If the difference in the variation of two groups is less than a threshold then I will merge them, and etc. Here my question is, can I take a data size of 4 for calculating variation? Please help me.

• Your approach is very non standard and that is probably why you don't see the approach or an answer to your question on the internet. If it is all from one population and you want to estimate the population variance or standard deviation you should just use the sample estimate of in that you can find in any elementary statistics book. There is no relevance to the fact that your data are noninteger. The accuracy of the estiamte depends on the sample size and the population variance or standard deviation. There is no one sample size that applies to every problem. But it looks like you might be c – Michael Chernick May 23 '12 at 19:58
• Oops.. my bad. I wanted to use the words "positive integers". Somehow I produced a typo. Yes, I am trying to clustering data. Can I use a sample size of 4 for calculating variation? Please let me know. – samarasa May 23 '12 at 20:07
• I think I will drop out of this one. There are many ways to cluster data. I am not sure that what you are proposing falls into a known approach that has been well researched. The question is too vague right now for an answer. Ther should be some desirable properties that you want your algorithm to have . Acheiving it requires that it can be specified and that the result is a direct function of the sample size. – Michael Chernick May 23 '12 at 20:23
• One last and quick question. Is it wrong to use a sample size of 4 or 5 for calculating variation? – samarasa May 23 '12 at 20:29 