Statistics - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Statistics and Data Analysis : Statistics Package : Quantities : Statistics/Quartile

Statistics

  

Quartile

  

compute quartiles

 

Calling Sequence

Parameters

Description

Options

Examples

References

Compatibility

Calling Sequence

Quartile(A, q, ds_options)

Quartile(X, q, rv_options)

Parameters

A

-

data set or Matrix data set

X

-

algebraic; random variable or distribution

q

-

algebraic; quartile

ds_options

-

(optional) equation(s) of the form option=value where option is one of ignore, method, or weights; specify options for computing the quartile of a data set

rv_options

-

(optional) equation of the form numeric=value; specifies options for computing the quartile of a random variable

Description

• 

The Quartile function computes the specified quartile of the specified random variable or data set.

• 

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

• 

The second parameter q is the quartile.

Options

  

For a description of the available options, see the Statistics[Quantile] help page. Calling Quartile with quartile q is equivalent to calling Quantile with probability 0.25q.

Examples

withStatistics:

Compute the quartile of the Weibull distribution with parameters a and b.

QuartileWeibulla,b,3

a2ln21b

(1)

Use numeric parameters.

QuartileWeibull3,5,3

321/5ln21/5

(2)

QuartileWeibull3,5,3,numeric

3.20252365335208

(3)

Generate a random sample of size 100000 drawn from the above distribution and compute the sample quartile.

ASampleWeibull3,5,105:

QuartileA,3

3.20252404724559

(4)

Consider the following Matrix data set.

MMatrix3,1130,114694,4,1527,127368,3,907,88464,2,878,96484,4,995,128007

M31130114694415271273683907884642878964844995128007

(5)

We compute the third quartile of each of the columns.

QuartileM,3

4.1262.333333333331.27581105

(6)

References

  

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

Compatibility

• 

The A parameter was updated in Maple 16.

See Also

Statistics

Statistics[Computation]

Statistics[DescriptiveStatistics]

Statistics[Distributions]

Statistics[Quantile]

Statistics[RandomVariables]

Statistics[StandardError]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam