
Calling Sequence


Student[Statistics][command](arguments)
command(arguments)


Description


•

The Student[Statistics] subpackage is designed to help teachers present and students understand the basic material of a standard course in statistics. There are three components to the subpackage: quantities (including visualization and formulas), hypothesis testing, and interactive exploration. These components are described in the following sections.

•

Each command in the Student[Statistics] subpackage can be accessed by using either the long form or the short form of the command name in the command calling sequence.


As the underlying implementation of the Student[Statistics] subpackage is a module, it is also possible to use the form Student:Statistics:command or Student[Statistics]:command to access a command. For more information, see Module Members.

•

Most of the commands and tutors in the Student[Statistics] package can be accessed through the contextmenu. These commands are consolidated under the Student[Statistics] name.



Quantities


•

In this subpackage, we can work with random variables taken from various distributions:

•

We can also work with data samples. Data samples within this subpackage are of the form of list, Vector, or Matrix.

•

Data stored in a list and data stored in a Vector are interpreted the same way. For example, [1,2,3] and <1,2,3> represent the same data sample. For data stored in a Matrix, we treat the Matrix as a collection of data samples where each column of the Matrix represents an individual list or Vector data sample.

•

We can use the following commands to work with these random variables and data samples:

•

These commands only work for random variables:


Visualization


•

Some of the commands mentioned above are designed to give a visual demonstration to help users better understand the material.

•

To return a plot from one of the commands listed below, specify the optional parameter output=plot, for example: CDF(X,2,output=plot) where $X$ is a $\mathrm{BinomialRandomVariable}\left(5\,\frac{1}{2}\right)$.

•

Commands able to generate such a visualization are:



Formulas


•

Some of the commands can give a formula for the quantity they compute, rather than the end result. To obtain such a formula, use the command on a random variable (or an expression involving random variables) and specify the optional parameter inert. For example, define Y := PoissonRandomVariable(lambda) and then compute Variance(Y, inert).

•

Commands that are able to return a formula are:




Hypothesis Testing


•

This section contains commands for some commonly used hypothesis tests.

•

The command TestsGuide can be used to select an appropriate test from among the options Maple offers. It explains the assumptions the test makes and the hypothesis it tests.

For more information, see HypothesisTest.


Interactive exploration


•

To explore a random variable interactively, you can use the ExploreRV command. It takes a random variable, or an expression involving one or more random variables, and inserts sliders and graphs into the current worksheet, so that you can see how many quantities and the PDF and CDF change when you change the parameters of the distribution.



Reference Tables


•

The Student Statistics package also contains two commands to generate and read values from statistical reference tables.



Getting Help with a Command in the Package




Compatibility


•

The Student[Statistics] package was introduced in Maple 18.



