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

3
votes
1answer
7k views

Average of multiple vectors

I have more than two vectors (these are 2D vectors) and I want to calculate the mean vector. What is the correct way to do it? All my vectors share their origins at (0,0).
3
votes
2answers
3k views

Calculate average wind direction

What is the best way to average wind direction? I have found many conflicting suggestions elsewhere. Best one I saw is to average SINs of all angles in radians and take inverse SIN of the result. ...
3
votes
2answers
133 views

How to find the average value of $y = e^x$ between $x = e$ and $x = 2e$? [closed]

What approach would be ideal in finding the average value of $y = e^x$ between $x = e$ and $x = 2e$?
3
votes
2answers
185 views

If I put $M$ balls into $N$ boxes at random, what is the average number of balls in the boxes that are not empty?

I have a very brief question: if I put $M$ balls into $N$ boxes at random, what is the average number of balls in the boxes that are not empty?
3
votes
2answers
1k views

Average Distance Between Random Points in a Rectangle

My question is similar to this one but for rectangles instead of lines. Suppose I have a rectangle with sides of length $L_w$ and $L_h$. What is the average distance between two uniformly-distributed ...
3
votes
1answer
379 views

The Exponential decay.

I am studying semiconductor physics. there is a paragraph about Drude model in E.spenke's book "Electronic semiconductors" page 259 in art §9: "if on the average, a time $τ$ elapses between two ...
3
votes
1answer
62 views

Is it always true that “max $\ge$ average + sigma”?

Assume that $i$ from $1,\ldots,N$, $x_i \ge 0$ and: $$\mathrm{avg} = \frac{\sum_i x_i}{N}$$ $$\sigma = \sqrt\frac{\sum_i{(x_i-\mathrm{avg})^2}}{N}$$ Is that true that: $$\max_i x_i \ge ...
3
votes
2answers
788 views

APR Calculation

I'm hoping someone can clarify this for me. The model/example is this: We lend an amount of 1498.50 (loan amount). Other fees total 39.95. The term of the loan is for 12 months. There is no ...
3
votes
1answer
32 views

Is the norm of the average $\le$ the norm of the max?

Given $\pmb X \in \mathcal{R}^p$, denote the elements of $\pmb X$ as $\pmb x_i$ for $i= 1, \dots, n$. Denote the $t(\pmb X)$ as the average of $\pmb X$ \begin{equation} \pmb t(\pmb X) = \frac 1 n ...
3
votes
1answer
84 views

How do I average a new number into an established percentage if I know the number of items?

This seems like something I should be able to do but I can not for the life of me figure it out. I'm writing a program to calculate an average score; let's say that my data looks like this. x = ...
3
votes
2answers
1k views

Average distance between two points in a circular disk

How can I find an average distance between two points lying inside a circular disk of a certain radius? I wonder if there is any other way except of using a Monte Carlo method?
3
votes
2answers
247 views

Course Grade - Statistics Question

I'm confused about finding the standard deviation of various weighted objects in a problem. For example, consider an academic setting, with four assessments as follows: ...
3
votes
1answer
1k views

leading and lagging moving average indicator

What are leading short and lagging long moving average indicators and how do we calculate them? e.g. for the following data set, and let window size be 2. Can you ...
3
votes
1answer
24 views

Simplified Averages - Always true?

While working on an "average rating" function for a website, I came across an idea for simplified averages, but I want to confirm that it always works. If it does, I might be able to keep a running ...
3
votes
2answers
582 views

What do curly brackets mean in this formula?

In this paper, in the Formula at the beginning of 2.2, we have $B=\{b_i(O_t)\}$ where $i=0,1$ - the number of probability formula $O_t$ - the state at moment $t$ $b_i(O_t)$ - two probabilities ...
2
votes
3answers
92 views

Problem with calculating average.

I came across the following question. A man travels a distance of $20$ miles at $60$ miles/hr and then return over the same route at $40$ miles/hr. What is the average rate for the round trip in ...
2
votes
3answers
188 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
3answers
62 views

What is the mean score for the $20$ rolls?

A fair die is rolled twenty times. The results are shown in the bar graph. What is the mean score for the $20$ rolls?
2
votes
3answers
367 views

Averaging the values of $\cos x$ over one period

I'm calculating the average value of $\cos x$ by dividing the period $[0,2\pi]$ into ten intervals which means that I should be looking for the average of 11 results. What I get is approx. 0.09. The ...
2
votes
3answers
83 views

Average of the smaller of three random numbers from $0$ to $1$

A friend of mine claims he saw the following question on a math puzzle site:- What is the average of the smaller of three random numbers from $0$ to $1$? And they've given these options:- $A) ...
2
votes
3answers
65 views

Why should ${\sum_1^n {s_i} \over \sum_1^n {t_i}} = {n \over \sum_1^n{t_i \over s_i}}$? (harmonic mean)

I realized it reading about computer performance. This identity is presented there with words: dividing total distance by total time, you arrive at average execution rate on the left. On the right, ...
2
votes
1answer
392 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 ...
2
votes
2answers
79 views

Averages in series

I have a series of numbers: $1,2,3$ I'm calculating a simple average between, them $(2)$. Now, I'm deleting the series and have no information regarding how many elements there were in the series or ...
2
votes
3answers
61 views

Correct way to get average price

probably a basic question for a lot of you guys, but it was a subject of a friendly debate at my work earlier - needless to say none of the involved were accountants. In short, we are thinking about ...
2
votes
1answer
60 views

What is this physics simulation formula doing?

I have encountered a piece of code that performs a physics simulation of a moving projectile. I'm trying to understand what the mathematical basis is for a bit that looks like this: $$ d_1 = f(x) $$ ...
2
votes
2answers
114 views

Calculating statistic for multiple runs

I have s imple, general question regarding calculating statistic for N runs of the same experiment. Suppose I would like to calculate mean of values returned by some Test. Each run of the test ...
2
votes
2answers
2k views

Finding percentile rank without knowledge of distribution

Say you take a test and are told your individual score, as a percentage. Eg: 95%. You are also told the aggregate score (average) of all students together, as well as how many students in total took ...
2
votes
4answers
576 views

Get `n` random values between 2 numbers having average `x`

I want to get n random numbers(e.g n=16)(whole numbers) between 1 to 5(including both) so that average is x. x can be any value between (1, 1.5, 2, 2.5, 3, 3.5, 4, ...
2
votes
2answers
203 views

Probability cut-off

Is there a probability cut-off point? e.g. if the probability of something keeps halving do you stop at a certain point and say the rest of the possibilities are negligible? What do you do then? ...
2
votes
1answer
65 views

Geometric Mean of an Interval

Is there any way to calculate one? If it't not clear what I mean, here's an example: Starting with an initial value, keep multiplying it by some random amount on the interval [1, 2] at regular ...
2
votes
2answers
626 views

How do I average out to a particular number if I have to add another number to get that average?

So, lets say, that you have the following numbers (4, 15, 3, 22) and you have to add the fifth number (which I would call X) and they must average out to say 20. What do you have to do? I figured ...
2
votes
1answer
168 views

Time to extinction

Suppose that a population has a rate of extinction equal to $k \exp({-\epsilon N})$ where $\epsilon$ and $k$ are constant and $N$ is the population size. This also means that the time to extinction is ...
2
votes
1answer
44 views

What is the most elementary proof of these inequalities?

Let $p$ be a non-zero integer, and let $x_1$, $\ldots$, $x_n$ be $n$ positive real numbers. Then we define the $p$-th power mean $M_p$ of these numbers as $$ M_p \colon= (\frac{x_1^p + \ldots + ...
2
votes
1answer
93 views

Is there a scientific way to assign weights to historical data?

This is a common question I usually face while processing historical data. I have year on year data of an event for the past N years.I would like to assign weights to the data of these N years so that ...
2
votes
1answer
66 views

Estimate the true mean: given only measurements above a known threshold

I have a computer-generated logfile which shows events which took longer than a particular time threshold (say 1 second for the sake of argument): if I measure the mean of these measurements, it seems ...
2
votes
2answers
385 views

Way to aggregated percentiles

I want to have information of http response times. The average, 95 and 99 percentil. All the response times are collected in each web server, and every second is sent back to a central server that ...
2
votes
2answers
239 views

Least Squares Fit

So here's the question: Given a collection of points $(x_1,y_1), (x_2,y_2),\ldots,(x_n,y_n)$, let $x=(x_1,x_2,\ldots,x_n)^T$, $y=(y_1,y_2,\ldots,y_n)^T$, $\bar{x}=\frac{1}{n} ...
2
votes
1answer
100 views

Is the average of all $x$ such that $0 \le x \le 1$ $ \forall $ $x \in \mathbb{R}$ equal to $\frac{1}{2}$?

Is the average of all $x$ such that $0 \le x \le 1$ $ \forall $ $x \in \mathbb{R}$ equal to $\frac{1}{2}$ ? It may seem this way but how can we show that indeed it is $\frac{1}{2}$. We know that the ...
2
votes
1answer
110 views

What is the best way to average the frequency of Chinese characters in a sentence?

I'm trying to find the best way to assign a "frequency score" to sentences in Chinese. Basically, I have a database which tells me how frequent each Chinese character is. From that, I would like to ...
2
votes
2answers
188 views

How can I show this in a summation?

I am trying to work out a summation for packet delays which is very similar to the summation for estimating RTT, which is an exponentially weighted moving average. I have modified the estimating RTT ...
2
votes
1answer
24 views

Problem about average of cos square (nt) where n is arbitrary

I often see people just say time average of cos^2(nwt) is 1/2, I want to know in what cases this is not valid? w is just the frequency, can be assumed as a constant. Assuming you are always ...
2
votes
1answer
16 views

Choosing two sets of values with the least difference between the averages of the sets

This is probably a simple Combination problem but I can't think of how to solve it in LibreOffice. I run multiplayer games along with seven of my friends, on two teams of 4 players each, for a total ...
2
votes
1answer
34 views

Derivation of Running(Online) Variance's formula

I need to know the dimostration of Running Variance's formula: $$ \sigma_n^2 =\frac{(n-1)\sigma_{n-1}^{2}+(x_n-\overline{x}_{n-1})\cdot(x_n-\overline{x}_{n})}{n} $$
2
votes
1answer
39 views

Are the $L^p$ norms ordered by $p$?

A question left over from this post is: Are the $L^p$ norms ordered by $p$ like the power means are?
2
votes
1answer
51 views

Maximum and minimum of weighted sum

For $w_i\ge 0$ and some constants $\alpha_i , i=1,...,n$, what is the maximum and minimum of $\sum_{i=1}^{n}\alpha_i w_i$ subjected to $\sum_{i=1}^{n}w_i=1$? Intuitively, I put all weight on the ...
2
votes
1answer
118 views

Arithmetic, Geometric, Harmonic Means

There are situations in which just one of the arithmetic, geometric, and harmonic means are appropriate to use an the other two are meaningless. Is there any situation which more than one of these ...
2
votes
1answer
189 views

Average delta value of a sequence of $N$ $8$-digit numbers

Given a sequence of $N$ $8$-digit numbers, how to calculate the average delta value, thanks.
2
votes
1answer
157 views

Average number of rolls of die to see each side at least once [duplicate]

Possible Duplicate: A Question About Dice You have a weighted n-sided die. Every side of the die is weighted differently where side n1 has a weight of w1, n2 has a weight of w2, ... ...
2
votes
1answer
3k views

Average, standard deviation and min/max values

I'm analzying a computer science paper and just found in the experimental setup the following statement: Average (standard deviation) of number of files per peer: 464 (554) Min - max number of files ...
2
votes
1answer
129 views

Fréchet mean between points in $\mathbb{R}^3$

Let $X$ be a set of $n$ points in $\mathbb{R}^3$ and $f_m$ be the Fréchet mean, i.e.: $$ f_m= \arg \min_{p \in M} \sum_{i=1}^n w_id^2(p,x_i) $$ where $(\mathbb{R}^3,d)$ is a complete metric space, ...