Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find Median
Message
From
04/04/2005 10:52:17
 
 
To
03/04/2005 01:22:59
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01001069
Message ID:
01001206
Views:
19
9


>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
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform