సరాసరి

---------
వ్యవహారిక భాషలో "సరాసరి" అనునది రాశుల మొత్తము ను రాశుల సంఖ్యచేభాగించగా వచ్చు భాగఫలము. మరో విధంగా చెప్పాలంటె యిది "అంక మధ్యమం" అవుతుంది. అయితే "సరాసరి" ని మరో విధంగా "మధ్యగతము", "బహుళకము" లేదా యితర మధ్యస్థ లేదా సగటు విలువగా తీసుకోవచ్చు. సాంఖ్యక శాస్త్రం లో యీ పదాలన్నింటినీ "కేంద్రీయ ప్రవృత్తి మానాలు" అని పిలుస్తారు. గణిత శాస్త్రము లో "సరాసరి" యొక్క భావన వివిధ రకాలుగా విస్తరించబడినది. కాని అనేక సందర్భాలలో దీనిని "అంక మధ్యమం" గా తీసుకుంటారు.
## గణన
### పైథాగొరియన్ అర్థం
పైథోగొరియన్ అర్థం ప్రకారం సాధారణంగా సరాసరి అనునది - అంకమధ్యమం, గుణ మధ్యమం, హరాత్మక మధ్యమం.

#### అంక మధ్యమం

ఒక దత్తాంశములో *n* సంఖ్యలు ఉన్నప్పుడు ప్రతి సంఖ్యను *a<sub>i</sub>*,(*i*&nbsp;=&nbsp;1,&nbsp;…,&nbsp;*n*, అయితే), అంకమధ్యమం అనగా *a<sub>i</sub>ల* మొత్తం ను *n* చే భాగించగా వచ్చు భాగఫలము. లేదా 
:AM = \frac{1}{n}\sum_{i=1}^na_i = \frac{1}{n}\left(a_1 + a_2 + \cdots + a_n\right)

The arithmetic mean, often simply called the mean, of two numbers, such as 2 and 8, is obtained by finding a value A such that 2 + 8 = A + A. One may find that *A* =&nbsp;(2&nbsp;+&nbsp;8)/2 =&nbsp;5. Switching the order of 2 and 8 to read 8 and 2 does not change the resulting value obtained for A. The mean 5 is not less than the minimum 2 nor greater than the maximum&nbsp;8. If we increase the number of terms in the list for which we want an average, we get, for example, that the arithmetic mean of 2, 8, and 11 is found by solving for the value of *A* in the equation 2&nbsp;+&nbsp;8&nbsp;+&nbsp;11 =&nbsp;*A*&nbsp;+&nbsp;*A*&nbsp;+&nbsp;*A*. One finds that *A* =&nbsp;(2&nbsp;+&nbsp;8&nbsp;+&nbsp;11)/3 =&nbsp;7.

#### గుణ మధ్యమం
The geometric mean of *n* non-negative numbers is obtained by multiplying them all together and then taking the *n*th root. In algebraic terms, the geometric mean of *a*1,&nbsp;*a*2,&nbsp;…,&nbsp;*a**n* is defined as

: \text{GM=} \sqrt[n]{\prod_{i=1}^n a_i} = \sqrt[n]{a_1 a_2 \cdots a_n}

Geometric mean can be thought of as the antilog of the arithmetic mean of the logs of the numbers.

Example: Geometric mean of 2 and 8 is GM = \sqrt{2 \cdot 8} = 4

#### హరాత్మక మధ్యమం
Harmonic mean for a non-empty collection of numbers *a*1,&nbsp;*a*2,&nbsp;…,&nbsp;*a**n*, all different from 0, is defined as the reciprocal of the arithmetic mean of the reciprocals of the *a**i*s:

: HM = \frac{1}{\frac{1}{n}\sum_{i=1}^n \frac{1}{a_i}} = \frac{n}{\frac{1}{a_1} + \frac{1}{a_2} + \cdots + \frac{1}{a_n}}

One example where it is useful is calculating the average speed for a number of fixed-distance trips. For example, if the speed for going from point *A* to *B* was 60&nbsp;km/h, and the speed for returning from *B* to *A* was 40&nbsp;km/h, then the average speed is given by

: \frac{2}{\frac{1}{60} + \frac{1}{40}} = 48

#### AM, GM, HM ల మధ్య సంబంధం
A well known inequality concerning arithmetic, geometric, and harmonic means for any set of positive numbers is

: AM \ge GM \ge HM

It is easy to remember noting that the alphabetical order of the letters *A*, *G*, and *H* is preserved in the inequality. See Inequality of arithmetic and geometric means.

### బహుళకము

The most frequently occurring number in a list is called the mode. For example, the mode of the list (1, 2, 2, 3, 3, 3, 4) is 3. The mode is not necessarily uniquely defined; for example, the list (1, 2, 2, 3, 3, 5) has the two modes 2 and 3. The mode is more meaningful and potentially useful if there are many numbers in the list, and the frequency of the numbers progresses smoothly (e.g., if out of a group of 1,000 people, 30 people weigh 61&nbsp;kg, 32 weigh 62&nbsp;kg, 29 weigh 63&nbsp;kg, and all the other possible weights occur less frequently, then 62&nbsp;kg is the mode).

The mode has the advantage that it can be used with non-numerical data (e.g., red cars are most frequent), while other averages cannot.

### మధ్యగతం

The median is the middle number of the group when they are ranked in order. (If there are an even number of numbers, the mean of the middle two is taken.) 

Thus to find the median, order the list according to its elements' magnitude and then repeatedly remove the pair consisting of the highest and lowest values until either one or two values are left. If exactly one value is left, it is the median; if two values, the median is the arithmetic mean of these two. This method takes the list 1, 7, 3, 13 and orders it to read 1, 3, 7, 13. Then the 1 and 13 are removed to obtain the list 3, 7. Since there are two elements in this remaining list, the median is their arithmetic mean, (3 + 7)/2 = 5.

## సారాంశం రకాలు

The table of mathematical symbols explains the symbols used below. 

## యితర రకాలు

Other more sophisticated averages are: trimean, trimedian, and normalized mean, with their generalizations.

One can create one's own average metric using the generalized ''f''-mean:

: y = f^{-1}\left(\frac{1}{n}\left[f(x_1) + f(x_2) + \cdots + f(x_n)\right]\right)

where *f* is any invertible function. The harmonic mean is an example of this using *f*(*x*) = 1/*x*, and the geometric mean is another, using *f*(*x*) = log&nbsp;*x*. 

However, this method for generating means is not general enough to capture all averages. A more general method for defining an average takes any function *g*(*x*1,&nbsp;*x*2,&nbsp;…,&nbsp;*x**n*) of a list of arguments that is continuous, strictly increasing in each argument, and symmetric (invariant under permutation of the arguments). The average *y* is then the value that, when replacing each member of the list, results in the same function value:  . This most general definition still captures the important property of all averages that the average of a list of identical elements is that element itself. The function   provides the arithmetic mean. The function   (where the list elements are positive numbers) provides the geometric mean. The function   (where the list elements are positive numbers) provides the harmonic mean.

### Average percentage return and CAGR

A type of average used in finance is the average percentage return. It is an example of a geometric mean. When the returns are annual, it is called the Compound Annual Growth Rate (CAGR). For example, if we are considering a period of two years, and the investment return in the first year is −10% and the return in the second year is +60%, then the average percentage return or CAGR, *R*, can be obtained by solving the equation: . The value of *R* that makes this equation true is 0.2, or 20%. This means that the total return over the 2-year period is the same as if there had been 20% growth each year. Note that the order of the years makes no difference – the average percentage returns of +60% and −10% is the same result as that for −10% and +60%. 

This method can be generalized to examples in which the periods are not equal. For example, consider a period of a half of a year for which the return is −23% and a period of two and a half years for which the return is +13%. The average percentage return for the combined period is the single year return, *R*, that is the solution of the following equation: , giving an average percentage return *R* of 0.0600 or 6.00%.

## In data streams

The concept of an average can be applied to a stream of data as well as a bounded set, the goal being to find a value that recent data clusters about in some way. The stream may be distributed in time, as in samples taken by some data acquisition system from which we want to remove noise, or in space, as in pixels in an image from which we want to extract some property. An easy-to-understand and widely used application of average to a stream is the simple moving average in which we compute the arithmetic mean of the most recent N data items in the stream. To advance one position in the stream, we add 1/N times the new data item and subtract 1/N times the data item N places back in the stream.

:Update rule for a window of size k upon seeing new element x_n:
\mu_{n, {n - k}} = \mu_{n - 1, n - k - 1} + \frac{x_n}{k} - \frac{x_{n - k - 1}}{k}

## Etymology
"Few words have received more etymological investigation."  In the 16th century *average* meant a customs duty, or the like, and was used in the Mediterranean area. It came to mean the cost of damage sustained at sea. From that came an "average adjuster" who decided how to apportion a loss between the owners and insurers of a ship and cargo. 

Marine damage is either *particular average*, which is borne only by the owner of the damaged property, or general average, where the owner can claim a proportional contribution from all the parties to the marine venture. The type of calculations used in adjusting general average gave rise to the use of "average" to mean "arithmetic mean".

The root is found in Arabic as *awar*, in Italian as *avaria*, in French as *avarie* and in Dutch as *averij*. It is unclear in which language the word first appeared.

There is earlier (from at least the 11th century), unrelated use of the word. It appears to be an old legal term for a tenant's day labour obligation to a sheriff, probably anglicised from "avera" found in the English Domesday Book (1085).

## యివి కూడా చూడండి

*Algorithms for calculating variance
*Law of averages
*Measures of statistical dispersion
*Spherical mean

## నోట్సు

## సూచికలు
*

## యితర లింకులు

*Median as a weighted arithmetic mean of all Sample Observations
*Calculations and comparison between arithmetic and geometric mean of two values