Questions tagged [average]

Averages summarise a set of values in one way or another. Without further qualification it most commonly refers to the arithmetic mean, but other averages such as root-mean-square exist.

In its most general definition, an average is a summary of a set of values. Normally it refers to the arithmetic mean, but other means may be employed (geometric, harmonic, etc.) or a transformation may be applied before and after taking a mean (e.g. root-mean-square).

1629 questions
0
votes
2 answers

I need something like average, but with 'force'

Say I have two teams with different scores. Team A = 500 points Team B = 700 points Obviously (500 + 700) / 2 will give me the average score of 600. But now, I would like to assign 'weight' or 'relevance' to each team's score. Let's say Team B =…
JasonGenX
  • 147
0
votes
1 answer

Calculate average using average value

I hope the title makes a bit of sense, as I don't know how to phrase it. Basically, I'm writing a script which checks the response time of a server in milliseconds. But instead of having thousands of values, I'd like to just stick to a single…
xorinzor
  • 125
0
votes
1 answer

Get a new average after adding 1 to the collection

Let's say I have 20 people who rated a service, the average rating for them was 4/5. If a new person did the rating for 3/5, what's the new average of rating? Note the answer doesn't have to be exact, I am using the calculation for rating component,…
Jacky
  • 101
0
votes
1 answer

Averages across runs (iterative averages)

I'm having a hard time trying to figure out a formula or pattern for averages when iterations are involved. For example: Let's say you have four apples, and you want an equal chance for any apple to be picked, but they can only be picked or…
0
votes
1 answer

Finding average of a sample with single piece of data

Is there anyway possible to guesstimate/estimate the average of a sample if you know just one of the sameple and its position when all available samples are arranged ascendingly and total number of samples. example: lets say a student has scored…
Bach
  • 537
0
votes
1 answer

How to calculate average of something based on a range of another thing?

How do I calculate the following example: Range of prices in whatever currency like: (0, 10), (10, 20), (20, 30) There are numbers of products underneath each range: So I have something like 100 of some kind of product under price range of (0, 10).…
0
votes
0 answers

Standard deviation or other?

I have very limited math skills so please forgive me for the question - if I am way off or otherwise. I have an database of hundreds of thousands of records...most fall within 30-60 days - but a few have zero, in very rare cases less. On the reverse…
0
votes
0 answers

Find the average overall

We have a debtor table with a field average days to pay. that is, the average number of days the debtor takes to pay an invoice. If I want to know whether the average days to pay overall is increasing or decreasing how would I calculate that? At…
0
votes
1 answer

Proper way to average

I am trying to figure out the proper way to get an average and have two methods that are yielding two different results. I am trying to figure out my average cost per item. Lets say I have 3 items: Item 1: 10 pcs/\$10000 or \$1000 each Item 2: 5…
0
votes
2 answers

Trying to Calculate Averages for Record Types

I am trying to compute the averages for the following (3) types of records but not sure if I am getting the correct results: 387 Total record count (valid/invalid/other) - created by 45 total users 94 of these records are valid - created by 5…
0
votes
2 answers

Find the average when zero is also there

If a set $A = \{0,1,10\}$ . What is the average? Is it $\frac{(0+1+10)}{3}$ or $\frac{(1+10)}{2}$.
0
votes
1 answer

Detecting unusual activity

How would one go about detecting unusual order flow in an intelligent way. That's very broad, so let me narrow it down. I have a trading system with clients entering number of orders every day. At this moment, I'm computing daily average of number…
Daniil
  • 103
0
votes
1 answer

The average of 38,84,63,45,32 and n lies between 50 and 60.If n is an integer greater than the average of the above numbers, then n lies between?

The options are 53 < n <97 50 < n < 100 52 < n < 98 I added the values along with n to get 43.66 + n/6.I then tried plugging in values from the options and tried arriving at the answer by means of elimination but that didn't work.
0
votes
1 answer

Average cost of units over time

I buy and sell units at varying price and I always have a varying stock of units bought in different batches at different prices. I always keep the current_price and the current_volume and I base my decissions of the current_price. Every time I…
Minel
  • 1
0
votes
2 answers

General forumla for taking running average of a running average?

Let's say I have an array of $N$ numbers: $n_1, n_2, .... n_N$ I then calculate a running average of those numbers, by averaging $A$ numbers at a time, which will result in the following array: $a_1, a_2, .... a_{N-A+1}$ , where $a_1 = \frac {n_1 +…
Eternal21
  • 103