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
1
vote
0 answers

How to measure the time-decayed rate of independent event

I have events arriving in a software system at a variable rate. Imagine these events are, say, hits on a website. I'd like to periodically report on the rate of arrival of events over a number of sliding windows. That is, every second I'd like to be…
dty
  • 111
  • 5
1
vote
1 answer

different types of Averages : prove there is an inequality between different averages

This is something I have been curious based on observations I have made by analyzing data from the energy industry. The context is you have monthly data for energy used per month and the cost per month. So for example lets say that we have twelve…
Palu
  • 841
1
vote
0 answers

Formula for finding new average shares price

I am building a spreadsheet with the result of stock purchases using average down strategy. Here is the definition of averaging down for those of you who don't know: Averaging down is an investing strategy that involves a stock owner purchasing…
1
vote
0 answers

Average distance between points

If there were a square field that is $x$ km wide and long, and there are $y$ objects in the field, is there a way to calculate the average distance between each object? I tried $\frac{x}{\sqrt{y}}$, but it didn't seem right. If it is, please correct…
someguy
  • 13
  • 2
1
vote
1 answer

A little's law question to find average of the customer in some time

If shoppers enter a store at an average rate of $r$ shoppers per minute and each stays in the store for average time of $T$ minutes, the average number of shoppers in the store, $N$, at any one time is given by the formula $N=rT$. This relationship…
user877930
1
vote
1 answer

Arithmetic mean vs. normalized vector length in multidimensional space

Given I have multiple values in the range of [0,1] and I want to condense them into a single value (again, in the range [0,1]). What's the semantic difference of the following two approaches? Arithmetic mean: Sum up the values Divide the sum by…
Toshiro
  • 21
1
vote
1 answer

averaging time it takes to complete a project

Consider a project consisting of four activities A, B, C, and D. a) A and B, the first activities of the project, can be started simultaneously. b) C can be started only after A is completed. c) D can be started only after B is completed Suppose the…
1
vote
0 answers

How can I add values to a sequence such that the mean is unaffected?

In order to do some data resampling so I can align certain time series, I need to modify some sets of numbers. I have a sequence of 563 data points, nominally divided into chunks of 30 values. I expected 570 values. I need to average chunks of 30 to…
Ben S.
  • 111
  • 1
1
vote
2 answers

Simple Moving Average Value

I'm trying to create a 7 Day Moving average column for my sales. I am having trouble in comprehending the notion of moving averages as I'm not sure which date should the Moving Average value be associated to. Data +--------+-------+----+ | date |…
1
vote
0 answers

Fidning average time it takes to finish a job

$30\%$ finish their job in $122\mathrm s$, $30\%$ finish their job in $68\mathrm s$, and $40\%$ finish their job in $190\mathrm s$. What is the average time it takes for a person to finish their job? This is what I…
1
vote
1 answer

Average Distance Between Two Points on a Line

I know this question has been answered many times, but I wanted to verify another method to solve this that I couldn’t find elsewhere. So I did the following: I fixed a point P distant $d$ from one end of the line(of length $L$). Now, we’re free to…
Vishu
  • 14,469
1
vote
1 answer

Find out Average and Percentile from the Histogram

Below is my Histogram information- {178=18, 213=1, 114=76, 139=5, 131=10, 176=13, 95=229, 1444=1, 206=5, 192=4, 227=2, 185=12, 67=14, 199=4, 148=11, 124=21, 75=226, 1431=1, 123=29, 157=16, 96=224, 1422=1, 89=344, 255=1, 266=1, 117=48, 171=14, …
arsenal
  • 113
1
vote
1 answer

How to figure out that 95 pecentile of time calls came back within certain milliseconds

I am working on a project in which I am supposed to do profiling on our REST Service. And after that figure it out how much is the 90 percentile or 95 percentile of our service. Meaning how much time calls is taking in 90% of time or 95% percent of…
1
vote
0 answers

Confusion about averages: If a person uses 20 cans of paint in 0.8 days, how can they average 25 cans per day when they have only used 20 cans so far?

I'm confused about averages. Say a person uses 20 cans of paint, in 5 days. That would that they use 4 cans of paint per day on average But if a person uses 20 cans of paint in 0.8 days (current day), does that mean they use 25 cans of paint per…
Newbie101
  • 167
1
vote
1 answer

How to find the averages of any consecutive numbers in a sequence?

The practical purpose of this is I want to identify users that use my app on a weekly basis. For each user I can generate a sequence of times of their interactions, and from that I can generate a sequence of the length of time between each…