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
Statistics[Distributions][EmpiricalDistribution] - Empirical distribution
Calling Sequence
EmpiricalDistribution(sample, opts)
Parameters
sample
-
a list or rtable of samples
opts
(optional) an equation of the form probabilities = plist
Description
The empirical distribution is a discrete probability distribution with probability function generated from the given sample.
If opts is not given, then Maple assigns a probability to each variate present within the sample equal to the fraction of occurrences of that value within the entire sample. If opts is specified, then plist should be a list or rtable of probabilities (nonnegative real numbers adding up to 1), having equally many entries as sample; the ith entry of plist specifies the probability for the ith entry of sample.
If all the values in sample are positive integers, you can use the ProbabilityTable distribution instead.
Note that the EmpiricalDistribution command is inert and should be used in combination with the RandomVariable command.
Compatibility
The probabilities option was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Examples
See Also
Statistics, Statistics[Distributions], Statistics[RandomVariable]
References
Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.
Johnson, Norman, L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
Download Help Document