Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find Median
Message
De
03/04/2005 01:22:59
 
 
À
03/04/2005 00:30:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01001069
Message ID:
01001073
Vues:
20
Thanks Al, I knew someone out there will have an answer. I need a liitle more clarification, the example says :

******************** Example
2) If n is odd, take the middle value as your median - the (n+1)/2 value.

3) If n is even, it's the same basic formula, except you average the two middle values,
add the n/2 point + (n+2)/2 point and divide that sum by 2. IOW, the mean of the 2 middle values.

EX: 1,4,8: 4 is the median

EX: 1,4,7,8: 4+7/2 = 11/2 = 5.5 is the median
*****************************************************

How would an example look if the data was 1,3,5,8,9,13,21,35,45 ???
Your help will be appreciated.
Shafid
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform