Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
stats[describe,median] - Median of a Statistical List
Calling Sequence
stats[describe, median](data, gap)
describe[median](data, gap)
Parameters
data
-
statistical list
gap
(optional) The common size of gaps between classes.
Description
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function median of the subpackage stats[describe, ...] finds the item in data that correspond to the median.
The median of a sorted list of numbers is either the middle value or the arithmetic mean of the two middle values. If the requested median falls between entries, it is interpolated.
The median is a measure of central tendency. The description for the mean provides more information about such measures. The median is used to find a typical value of the given data when the extreme values are not representative of the rest of the data. It corresponds to the 50th percentile of the data.
Missing data are ignored.
For information about the parameter gap, see describe[gaps].
The data must be numeric.
The command with(stats[describe],median) allows the use of the abbreviated form of this command.
Examples
The median of the numbers 1,2,3,4,250 is
Note that this value is more typical of this particular data than the mean
For an even number of data items, interpolation is used:
See Also
describe(deprecated)[decile], describe(deprecated)[mean], describe(deprecated)[percentile], describe(deprecated)[quantile], describe(deprecated)[quartile], describe(deprecated)[range], Statistics, Statistics[Median], stats(deprecated)[data]
Download Help Document