The sum of several numbers divided by their count nicely summarizes the overall size of the numbers involved in a single value.

learn more… | top users | synonyms

1
vote
1answer
3k views

Proving correlation coefficient = 1 or -1 given X and Y=a + bX

Given $X$ and $Y = a+bX$, I have to prove that: If $b \lt 0$, then $\rho = -1$. If $b \gt 0$, then $\rho = 1$. I've gotten to the point where I have: $$ \rho = \frac{b \cdot \sigma_x }{ ...
5
votes
2answers
2k views

Find the average of a collection of points (in 2D space)

I'm a bit rusty on my math, so please forgive me if my terminology is wrong or I'm overlooking extending a simple formula to solve the problem. I have a collection of points in 2D space (x, y ...
3
votes
2answers
4k views

How to add and subtract values from an average?

Say I have 100 numbers that are averaged: number of values = 100 total sum of values = 2000 mean = 2000 / 100 => 20 If I want to add a value and find out the ...
1
vote
2answers
231 views

Bound on deviation between arithmetic and harmonic mean?

It is well known that, if HM denotes the harmonic mean and AM the arithmetic mean, we have $$ AM(x) \ge HM(x) $$ Now I am dealing with the expression $$ \frac{1}{HM(x)} - \frac{1}{AM(x)} $$ A ...
26
votes
4answers
2k views

What is to geometric mean as integration is to arithmetic mean?

The arithmetic mean of $y_i ... y_n$ is: $$\frac{1}{n}\sum_{i=1}^n~y_i $$ For a smooth function $f(x)$, we can find the arithmetic mean of $f(x)$ from $x_0$ to $x_1$ by taking $n$ samples and using ...
4
votes
1answer
125 views

Probability value in a skewed data

A question goes like this: Given that there 2 questions out of 3 questions to pass an exam and follow are details of number of people who attended the questions correctly, what is the maximum number ...
5
votes
1answer
551 views

Harmonic mean and logarithmic mean

The harmonic mean of a finite set of positive real numbers $\{x_1, x_2, \ldots, x_n\}$ is defined to be $$H(\{x_1, x_2, \ldots, x_n\}) = \frac{n}{\frac{1}{x_1} + \frac{1}{x_2} + \cdots + ...
7
votes
3answers
274 views

Asymptotic difference between a function and its binomial average

The origin of this question is the identity $$\sum_{k=0}^n \binom{n}{k} H_k = 2^n \left(H_n - \sum_{k=1}^n \frac{1}{k 2^k}\right),$$ where $H_n$ is the $n$th harmonic number. Dividing by $2^n$, we ...
2
votes
3answers
195 views

Average amount of money received from pulling three random coins

Let's say I have a bag of coins, which contains 1 quarter, 2 dimes, 3 nickles and 4 pennies. If I were to randomly pull out 3 coins, on average, how much money would I get?
2
votes
1answer
397 views

Need help with a math trick question

I wasnt sure where to ask this but since this is an algorithmic question here it goes. I've come face to face with a math problem and can't seem to get over it for the last couple of days. It goes ...
5
votes
2answers
2k views

Why is median age a better statistic than mean age?

If you look at Wolfram Alpha or this Wikipedia page List of countries by median age Clearly median seems to be the statistic of choice when it comes to ages. I am not able to explain to myself ...
5
votes
2answers
146 views

Is there a name (and use) for an average based on the unique values of a set of data?

Consider the following data points: $1, 1, 2, 3, 4$ I understand that... the average is the total of the numbers divided by the count of numbers in the set, the median is the central value based on ...
8
votes
4answers
2k views

How do I figure out what kind of distribution this is?

i've sampled a real world process, network ping times. The "round-trip-time" is measured in milliseconds. Results are plotted in a histogram: Ping times have a minimum value, but a long upper tail. ...
5
votes
3answers
2k views

Which average to use? (RMS vs. AM vs. GM vs. HM)

The generalized mean (power mean) with exponent $p$ of $n$ numbers $x_1, x_2, \ldots, x_n$ is defined as $$ \bar x = \left(\frac{1}{n} \sum x_i^p\right)^{1/p}. $$ This is equivalent to the harmonic ...