Login
Sign Up
Home
Program
Project
My Zone
Support
Show Code
Browse Program
Search Program
Geometric Mean Calculation
Input Variables
Output Variables
Program Code
Description
Variable Name *
(dynamic type)
*
!
UP
Down
Delete
Default Value *
*
Description *
*
Multi Lines
Variable Name *
(dynamic type)
*
UP
Down
Delete
Description *
*
Input Variables List
Output Variables List
Source Code
double temp=1.0; foreach(var a in dim) { temp=temp*a; } mean=Math.Pow(temp,1.0/dim.Length);
Subject
Description
Geometric mean is a kind of average of a set of numbers that is different from the arithmetic average. The geometric mean is well defined only for sets of positive real numbers.
Formula:
Geometric Mean = (X
1
X
2
X
3
........X
N
)
1/N
where
X = Individual score
N = Sample size (Number of scores)
Category
Mathematics
Created By
tech
Created Date
11/25/2010
Last Modify Date
11/25/2010
Calculation Count
11
Version
1.00
Positive
0
Neutral
0
Negative
0
Related Program ID
24 , 25 , 27 , 28 , 29
Copyright ©2009-2010 CUI WEI. All Rights Reserved.