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

Online Help

Student[Statistics]

  

StandardDeviation

  

compute the standard deviation

 

Calling Sequence

Parameters

Description

Computation

Examples

References

Compatibility

Calling Sequence

StandardDeviation(A, numeric_option, output_option)

StandardDeviation(M, numeric_option, output_option)

StandardDeviation(X, numeric_option, inert_option, output_option)

Parameters

A

-

data sample

M

-

Matrix data sample

X

-

algebraic; random variable

numeric_option

-

(optional) equation of the form numeric=value where value is true or false

output_option

-

(optional) equation of the form output=x where x is value, plot, or both

inert_option

-

(optional) equation of the form inert=value where value is true or false

Description

• 

The StandardDeviation function computes the standard deviation of the specified data sample or random variable.  In the data sample case the unbiased estimate for the variance is used (see Student[Statistics][Variance] for more details).

• 

The first parameter can be a data sample (e.g., a Vector), a Matrix data sample, a random variable, or an algebraic expression involving random variables (see Student[Statistics][RandomVariable]).

• 

If the option output is not included or is specified to be output=value, then the function will return the value of the standard deviation. If output=plot is specified, then the function will return a plot of the input data set and its standard deviation. If output=both is specified, then both the value and the plot of the standard deviation will be returned.

• 

If the option inert is not included or is specified to be inert=false, then the function will return the actual value of the result. If inert or inert=true is specified, then the function will return the formula of evaluating the actual value.

Computation

• 

By default, all computations involving random variables are performed symbolically (see option numeric below).

• 

If there are floating point values or the option numeric is included, then the computation is done in floating point. Otherwise the computation is exact.

• 

By default, the standard deviation is computed according to the rules mentioned above. To always compute the standard deviation numerically, specify the numeric or numeric = true option.

Examples

Compute the standard deviation of the beta random variable with parameters  and .

(1)

Use the numeric or the output=plot option

(2)

Create a beta-distributed random variable  and compute the standard deviation of .

(3)

(4)

Compute the standard deviation of a data set, which contains an undefined value

(5)

Consider the following Matrix data sample.

(6)

Compute the standard deviation of each of the columns.

(7)

If the output=both option is included, then both the value and the plot of the standard deviation will be returned.

(8)

Use both the output=both option and the inert option.

(9)

(10)

(11)

References

  

Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.

Compatibility

• 

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

• 

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

See Also

Statistics[StandardDeviation]

Student

Student[Statistics]

Student[Statistics][RandomVariable]

 


Download Help Document