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

Online Help

All Products    Maple    MapleSim


Student[Statistics]

  

ProbabilityTable

  

return the probability distribution table for a given distribution

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

ProbabilityTable( distribution )

ProbabilityTable( distribution, options )

ProbabilityTable( Normal, x )

Parameters

distribution

-

name; name of the distribution chosen from Normal, Binomial, or Poisson

x

-

(optional) numeric; single value lookup from the standard normal distribution table

options

-

one or more keyword options as described below

Options

• 

x : list; list of values for the rows

• 

parameter1 : list; list of parameter values for the columns

• 

parameter2 : list; list of parameter values for the number of tables to return

• 

noheaders : truefalse; specifies if column and row header information is included. By default this is set to false.

• 

output : identical( matrix, embed ); controls the output of the resulting matrix. If output = embed, then a datatable component containing the matrix of values is returned. By default, output is set to matrix, and a matrix is returned.

Description

A probability distribution table returns values for the probability that a value is less than or equal to a value x. This is analogous to computing the CDF for a given distribution at the point x.

For example, the table for the cumulative standard normal distribution gives

Φx=xⅇt22ⅆt2π

For x<0, values of Φx can be obtained from Φx=1Φx.

• 

The ProbabilityTable command returns the probability distribution table as a matrix. If embed = true, then a datatable component containing the matrix of values is returned.

Examples

withStudent:-Statistics&colon;

The values of the cumulative standard normal distribution table can be found directly from the CDF of the standard normal distribution:

ΦxCDFNormalRandomVariable0&comma;1&comma;x

ΦxStudent:−Statistics:−CDFStudent:−Statistics:−NormalRandomVariable0&comma;1&comma;x

(1)

evalfΦ1.04

0.850830049669019

(2)

The ProbabilityTable command can return the Standard Normal distribution table, which assumes that the parameters of the Normal distribution, the mean and standard deviation, are equal to μ=0 and σ=1 respectively. In this case, this table is dependent on only one parameter, x. It is possible to query for singular values of x by entering a numeric value as the second argument of the ProbabilityTable command. Note that all other probability distributions require that the x parameter is specified as a keyword option, namely x = value.

ProbabilityTableNormal&comma;1.04

0.850830049669019

(3)

The ProbabilityTable command numerically computes the values for the standard normal distribution table using the above CDF. In contrast to traditional printed tables of values in text books, this can return the results with any level of precision, and also makes it possible to return more accurate results in cases where one would otherwise need to interpolate values for entries that are not in the table.  

evalf15ProbabilityTableNormal&comma;1.04

0.149169950330981

(4)

To return the cumulative standard normal distribution table as a matrix:

ProbabilityTableNormal

To return a sub-matrix of values from the cumulative standard normal distribution table:

ProbabilityTableNormal&comma;x=seq0...2.0&comma;0.5

To return the Poisson probability distribution table with no headers:

ProbabilityTablePoisson&comma;noheaders

(5)

The output option can be used to create a datatable for any of the probability distribution tables:

ProbabilityTablePoisson&comma;output=embed

DT

(6)

The probability distribution table for the Poisson distribution depends on one parameter, lambda, as well as a list of values for x. It is also possible to return a sub-matrix for a given distribution by including lists for the value ranges and parameters:

ProbabilityTablePoisson&comma;x=0&comma;1&comma;2&comma;parameter1=0.1&comma;0.2

(7)

The binomial distribution is dependent on two parameters, n and p, and can return multiple tables:

ProbabilityTableBinomial&comma;x=seq1..3&comma;parameter1=seq0.1..0.4&comma;0.1&comma;parameter2=4&comma;5

table4.=&comma;5.=

(8)

Compatibility

• 

The Student[Statistics][ProbabilityTable] command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

Student[Statistics][CriticalTable]