Arithmetic mean
From DrugPedia: A Wikipedia for Drug discovery
In mathematics and statistics, the arithmetic mean (or simply the mean) of a list of numbers is the sum of all the members of the list divided by the number of items in the list. If the list is a statistical population, then the mean of that population is called a population mean. If the list is a statistical sample, we call the resulting statistic a sample mean.
The mean is the most commonly-used type of average and is often referred to simply as the average. The term "mean" or "arithmetic mean" is preferred in mathematics and statistics to distinguish it from other averages such as the median and the model.
Contents |
[edit] Introduction
If we denote a set of data by , then the sample mean is typically denoted with a horizontal bar over the variable (, enunciated "x bar").
The symbol μ (Greek: mu) is used to denote the arithmetic mean of an entire population. Or, for a random number that has a defined mean, μ is the probabilistic mean or expected value of the random number. If the set X is a collection of random numbers with probabilistic mean of μ, then for any individual sample, xi, from that collection, μ = E{xi} is the expected value of that sample.
In practice, the difference between μ and is that μ is typically unobservable because one observes only a sample rather than the whole population, and if the sample is drawn randomly, then one may treat , but not μ, as a random variable, attributing a probability distribution to it (the sampling distribution of the mean).
Both are computed in the same way:
If X is a random variable, then the expected value of X can be seen as the long-term arithmetic mean that occurs on repeated measurements of X. This is the content of the law of large numbers. As a result, the sample mean is used to estimate unknown expected values.
Simple algebra will prove that a mean of n + 1 numbers is larger than the mean of n numbers if and only if the new number is larger than the old mean, smaller if and only if it is smaller, and remains stable if and only if it is equal to the old mean. The larger n is, the smaller is the magnitude of the change in the mean relative to the distance between the old mean and the new number.
Note that several other "means" have been defined, including the generalized mean, the generalized f-mean, the harmonic mean, the arithmetic-geometric mean, and various weighted means.
[edit] Problems with some uses of the mean
[edit] Not robust
While the mean is often used to report central tendency, it is not a robust statistic, meaning that it is greatly influenced by outliers. Notably, for skewed distributions, the arithmetic mean may not accord with one's notion of "middle", and robust statistics such as the median may be a better description of central tendency.
A classic example is average income. The arithmetic mean may be misinterpreted as the median to imply that most people's incomes are higher than is in fact the case. When presented with an "average" one may be led to believe that most people's incomes are near this number. This "average" (arithmetic mean) income is higher than most people's incomes, because high income outliers skew the result higher (in contrast, the median income "resists" such skew). However, this "average" says nothing about the number of people near the median income (nor does it say anything about the modal income that most people are near). Nevertheless, because one might carelessly relate "average" and "most people" one might incorrectly assume that most people's incomes would be higher (nearer this inflated "average") than they are. For instance, reporting the "average" net worth in Medina, Washington as the arithmetic mean of all annual net worths would yield a surprisingly high number because of Bill Gates. Consider the scores (1, 2, 2, 2, 3, 9). The arithmetic mean is 3.17, but five out of six scores are below this.
[edit] Compounding
If numbers multiply instead of add, one should average using the geometric mean, not the arithmetic mean. This most often happens when computing the rate of return, as in finance.
For example, if a stock fell 10 % in the first year, and rose 30 % in the second year, then it would be incorrect to report its "average" increase per year over this two year period as the arithmetic mean (−10 % + 30 %)/2 = 10 %; the correct average in this case is the compound annual growth rate, which yields an annualized increase per year of only 8.2 %.
The reason for this is that each of those percents have different starting points: the 30% is 30% of a smaller number. If the stock starts at $30 and falls 10 %, it is now at $27. If the stock then rises 30 %, it is now $35.1. The arithmetic mean of those rises is 10 %, but since the stock rose by $5.1 in 2 years, an average of 8.2 % would result in the final $35.1 figure [$30(1-10 %)(1+30 %) = $30(1+8.2 %)(1+8.2 %) = $35.1]. If one used the arithmetic mean 10 % in the same way, one would not get the actual increase [$30(1+10 %)(1+10 %) = $36.3].
Stated generally, compounding yields 90% * 130% = 117% overall growth, and annualizing yields <math>\sqrt{117%}\approx 108.2%</math>, so 8.2% per year.
[edit] Directions
Particular care must be taken when using cyclic data such as phases or angles. Naïvely taking the arithmetic mean of 1° and 359° yields a result of 180°.
This is incorrect for two reasons:
- Firstly, angle measurements are only defined up to a factor of 360° (or 2π, if measuring in radians). Thus one could as easily call these 1° and -1°, or 1° and 719° – each of which gives a different average.
- Secondly, in this situation, 0° (equivalently, 360°) is geometrically a better average value: there is lower dispersion about it (the points are both 1° from it, and 179° from 180°, the putative average).
In general application such an oversight will lead to the average value artificially moving towards the middle of the numerical range. A solution to this problem is to use the optimization formulation (viz, define the mean as the central point: the point about which one has the lowest dispersion), and redefine the difference as a modular distance (i.e., the distance on the circle: so the modular distance between 1° and 359° is 2°, not 358°).
[edit] Original Source
This article was originally posted in Wikipedia.