Conditions
When do we say "variances of the two samples are equal and not equal"? How do we know whether the variances of two samples are equal or not?
Solution
In probability theory and statistics, the variance is a measure of how far a set of numbers is spread out. It is one of several descriptors of a probability distribution, describing how far the numbers lie from the mean (expected value). In particular, the variance is one of the moments of a distribution. In that context, it forms part of a systematic approach to distinguishing between probability distributions. While other such approaches have been developed, those based on moments are advantageous in terms of mathematical and computational simplicity.
The variance of a random variable or distribution is the expectation, or mean, of the squared deviation of that variable from its expected value or mean. Thus the variance is a measure of the amount of variation of the values of that variable, taking account of all possible values and their probabilities or weightings (not just the extremes which give the range).
Population variance and sample variance
In general, the population variance of a finite population of size is given by
where
is the population mean, and
In many practical situations, the true variance of a population is not known a priori and must be computed somehow. When dealing with extremely large populations, it is not possible to count every object in the population.
A common task is to estimate the variance of a population from a sample. We take a sample with replacement of values from the population, where , and estimate the variance on the basis of this sample. There are several good estimators. Two of them are well known
The first estimator, also known as the second central moment, is called the biased sample variance. The second estimator is called the unbiased sample variance. Either estimator may be simply referred to as the sample variance when the version can be determined by context. Here, denotes the sample mean:
Conclusions: The 2 sample variances are equal, when are equal for 2 samples with their n - number and