Statistics
Support
compute the support set of a random variable
Calling Sequence
Parameters
Description
Examples
References
Compatibility
Support(X, t, opts)
Support(X, opts)
X
-
algebraic; random variable or distribution
t
algebraic; any expression
opts
(optional) equation of the form output = form, specifying what form the output should have
Given a random variable X with probability density function f, the Support function will find a set A of real numbers such that f⁡x=0 for all x not in A. This set can be used to estimate the size of the support of X.
There are three forms of output that Support can return.
If called with the output=property option, then Support returns a property that points in the set A have, typically of the form RealRange(a, b). Note that only numeric ranges can be represented in this way.
If called with the output=boolean option, then Support returns a boolean expression expressing that t is in A, typically of the form a≤t<b.
If called with the output=range option, then Support returns a range describing A, of the form a..b.
If called without an output option, then the default is the property format if t is not given and boolean format if t is given.
The first parameter can be a distribution (see Statistics[Distribution]), a random variable, or an algebraic expression involving random variables (see Statistics[RandomVariable]).
The second parameter can be any algebraic expression. It is a necessary argument for output=boolean and ignored otherwise.
with⁡Statistics:
Compute the support of the normal distribution.
Support⁡Normal⁡3,1
real
Support⁡Normal⁡3,1,output=range
−∞..∞
Support⁡Uniform⁡3,5
3,5
Support⁡Binomial⁡10,0.5
0,10
Support⁡Uniform⁡3,5,t
3≤t<5
Support⁡Uniform⁡3,5,4
true
Support⁡Uniform⁡3,5,7
false
Try another distribution.
T≔Distribution⁡`=`⁡PDF,t↦piecewise⁡t<−1,0,t<1,3⋅t2⋅5−t10,0:
X≔RandomVariable⁡T:
Support⁡X
−1,1
Support⁡X,t
−1≤t<1
Support⁡X,t,output=property
Support⁡X,t,output=boolean
Support⁡X,t,output=range
−1..1
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
The output option was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
Statistics[Computation]
Statistics[Distributions]
Statistics[RandomVariables]
Statistics[Range]
Download Help Document