A mean that calculates the n-th root of the product of the numbers.
Questions tagged [geometric-mean]
34 questions
0
votes
1 answer
calculate the harmonic mean and geometric mean without exceeding double max value?
For a vector (set of numbers) whose multiplication or division would exceed the minimum or maximum value of type double and/or decimal, how could the geometric mean and harmonic mean be calculated?
Any existing implementation I have found did not…

Aalawlx
- 593
- 5
- 25
0
votes
1 answer
Scipy gmean with missing values
I was not sure how to deal with a two dimensional array [stock returns] that has some missing values.
I want to get geometric mean for each row [ average return for each month]. I got missing values for geometric mean for those months that I have…

Roo
- 862
- 1
- 10
- 22
0
votes
1 answer
Finding all combinations of elements from two sets such that their geometric mean falls into third set
I have a integers from 1 to n. I randomly allot every integer into one of three sets A, B and C (A ∩ B = B ∩ C = C ∩ A = Ø). Every integer does belong to one set. So I need to calculate all combination of elements (a,b) such that a ∈ A, b ∈ B, and…

four_lines
- 503
- 3
- 12
0
votes
1 answer
Geometric distribution values in Forest Fire generation model
I am trying to do implementation (Python) of the Forest Fire graph generation algorithm (http://cs.stanford.edu/~jure/pubs/powergrowth-kdd05.pdf).
Here is how pseudo-code looks like:
The problem I am having with is understanding the second step.…

techkuz
- 3,608
- 5
- 34
- 62