Student[ Statistics ][ ExploreRV ] - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Statistics : Student/Statistics/ExploreRV

Student[ Statistics ][ ExploreRV ]

explore random variables

 Calling Sequence ExploreRV( expr ) ExploreRV()

Parameters

 expr - any valid statistical distribution. The distribution does not have to be predefined distribution in student statistics ( see examples )

Description

 • The command ExploreRV takes an arbitrary statistical distribution and displays an interactive interface to explore its various parameters. If ExploreRV is run without an argument, an interactive Maplet is displayed to select possible distributions to explore.
 • Upon exploring a distribution, a Maplet is displayed to inquire information on the parameters.
 • Default ranges are given for each parameter based on the constraints that that parameter is subject to. However, a more suitable range can be entered in the Maplet.
 • When the Maplet is closed, ExploreRV inserts some content into the current worksheet where various statistical properties of the distribution are displayed.
 • Slider components allow for the values of the parameters to be changed. An updated distribution is constructed using the values specified by the sliders, and its statistical properties are displayed.
 • Note: This feature only works in the Maple Standard Worksheet interface.

Examples

Here is a very basic example of how ExploreRV can be used. Notice that ExploreRV retains the value of the parameters passed in if the parameters have numeric values.

 > $\mathrm{with}\left(\mathrm{Student}:-\mathrm{Statistics}\right):$
 > $B≔\mathrm{BetaRandomVariable}\left(1,2\right)$
 > $\mathrm{ExploreRV}\left(B\right)$
 > $B≔\mathrm{BinomialRandomVariable}\left(n,p\right)$
 > $\mathrm{ExploreRV}\left(B\right)$

ExploreRV can also explore algebraic expressions involving random variables, that are not predefined distributions.

 > $K≔\mathrm{NormalRandomVariable}\left(0,1\right)$
 > $\mathrm{ExploreRV}\left({K}^{2}\right)$

ExploreRV will evaluate constants and functions passed in.

 > $a≔1$
 > myfunc := proc( x ) return 2*x; end proc;
 > $\mathrm{ExploreRV}\left(K+a+\mathrm{myfunc}\left(b\right)+\mathrm{NormalRandomVariable}\left(2,2\right)\right)$

Compatibility

 • The Student[ Statistics ][ ExploreRV ] command was introduced in Maple 18.