Overview of the Student[Statistics] Subpackage
Calling Sequence
Description
Quantities
Hypothesis Testing
Interactive exploration
Reference Tables
Getting Help with a Command in the Package
Example Worksheet
Compatibility
Student[Statistics][command](arguments)
command(arguments)
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 context-menu. These commands are consolidated under the Student[Statistics] name.
In this subpackage, we can work with random variables taken from various distributions:
BernoulliRandomVariable
BetaRandomVariable
BinomialRandomVariable
CauchyRandomVariable
ChiSquareRandomVariable
DiscreteUniformRandomVariable
EmpiricalRandomVariable
ExponentialRandomVariable
FRatioRandomVariable
GammaRandomVariable
GeometricRandomVariable
HypergeometricRandomVariable
LogNormalRandomVariable
NegativeBinomialRandomVariable
NormalRandomVariable
PoissonRandomVariable
StudentTRandomVariable
UniformRandomVariable
For more information, see RandomVariable.
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:
Correlation
Covariance
DataSummary
Decile
ExpectedValue
InterquartileRange
Kurtosis
Mean
Median
Mode
Moment
Percentile
Quantile
Quartile
Skewness
StandardDeviation
Variance
These commands only work for random variables:
CDF
MGF
Probability
PDF
ProbabilityFunction
Sample
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:
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.
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.
The Student Statistics package also contains two commands to generate and read values from statistical reference tables.
CriticalTable
ProbabilityTable
To display the help page for a particular Student[Statistics] command, see Getting Help with a Command in a Package.
For introductory examples, see Statistics Example Worksheet.
The Student[Statistics] package was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Student
Student[Statistics][HypothesisTest]
Student[Statistics][RandomVariable]
Download Help Document
What kind of issue would you like to report? (Optional)