Calculating Dataset Mean, Mode, Median, and Range
I have not had Statistics since the first time I went to college - 13 years ago, so...
I'm trying to create a Visual Basic program (VB2005) for an Intro to VB 2005 class Thesis project that calculates the following items out of a set of numbers:
- Mean
- Arithmetic Mean
- Weighted Arithmetic Mean
- Geometric Mean
- Harmonic Mean
- Power Mean
- Interquartile Mean
- Quadratic Mean
- Generalized (Power, Holder) Mean
- Mode
- Median
- Standard Median
- Weighted Median
- Range
- Standard Range
- Interquartile Range
Here is a list of test figures (the total number of figures will vary from job to job): { 1, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5 }
I have the calculations for all the Modes, Medians, and Ranges, and most of the Means, but I either do not have the calculations or understand the calculations for the following Means calculations:
- Weighted Mean
- Generalized (Power, Holder) Mean
If anyone is a Statistics master, please help!!!
Re: Calculating Dataset Mean, Mode, Median, and Range
MathWorld can help you out!!