cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Calculate Geometric MEAN
Calculate Geometric MEAN
May 12, 2012 at 1:53am UTC
jahanzaib ali khan Iiu
(19)
Hello!I want to create a program in c++ which could calculate geometric mean for grouped data and ungrouped data.If any one know how to calculate Geometric mean please help me.
Thanks
May 12, 2012 at 2:43am UTC
atrium
(19)
Last edited on
May 13, 2012 at 10:00am UTC
May 12, 2012 at 3:01am UTC
codekiddy
(783)
@atrium
pfff ahahhahahhh :D
@OP
well you take the n-th root of all abservations.
no metter group or not.
If you want weighted geometric mean of more groups you adopt weghted mean similar to wighted arithmetic mean of n random variables.
Topic archived. No new replies allowed.