ProbabilityTable - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Statistics[Distributions]

  

ProbabilityTable

  

probability table

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

ProbabilityTable(plist)

Parameters

plist

-

list of real constants in the range 0..1, summing to 1; probabilities

Description

• 

The probability table distribution is a discrete probability distribution with probability function given by:

ft=0t<1plistttnopsplist0otherwise

  

subject to the following conditions, where n is defined as the number of indices in plist:

t=1nplistt=1

0plistk,plistk1,k=1..n

• 

The probability table distribution is defined by the sequence of integer variates 1..n. This distribution wrapper allows bounded discrete distributions to be easily represented in tabular form. If you would like to use a distribution that has values other than positive integers, consider using the EmpiricalDistribution, potentially with the probabilities option.

• 

Note that the ProbabilityTable command is inert and should be used in combination with the RandomVariable command.

Examples

withStatistics&colon;

P12&comma;14&comma;18&comma;116&comma;116

P12&comma;14&comma;18&comma;116&comma;116

(1)

XRandomVariableProbabilityTableP&colon;

ProbabilityFunctionX&comma;1

12

(2)

CDFX&comma;2

34

(3)

SampleX&comma;1000

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.

See Also

Statistics

Statistics[Distributions]

Statistics[RandomVariable]