QuartileDeviation

QuartileDeviation[data]

gives the quartile deviation or semi-interquartile range of the elements in data.

QuartileDeviation[data,{{a,b},{c,d}}]

uses the quantile definition specified by parameters a, b, c, d.

QuartileDeviation[dist]

gives the quartile deviation or semi-interquartile range of the distribution dist.

Details

Examples

open allclose all

Basic Examples  (3)

Quartile deviation for a list of exact numbers:

Quartile deviation of a list of dates:

Quartile deviation of a parametric distribution:

Scope  (23)

Basic Uses  (8)

Exact input yields exact output:

Approximate input yields approximate output:

Compute results using other parametrizations:

Find the quartile deviation for WeightedData:

Find the quartile deviation for EventData:

Find the quartile deviation for TemporalData:

Find the quartile deviation for TimeSeries:

The quartile deviation depends only on the values:

Find the quartile deviation for data involving quantities:

Array Data  (5)

QuartileDeviation for a matrix gives columnwise ranges:

Quartile deviation for a tensor works across the first index:

Works with large arrays:

When the input is an Association, QuartileDeviation works on its values:

SparseArray data can be used just like dense arrays:

Find the quartile deviation of a QuantityArray:

Image and Audio Data  (2)

Channelwise quartile deviation value of an RGB image:

Quartile deviation intensity value of a grayscale image:

Quartile deviation amplitude of all amplitude values of all channels:

Date and Time  (5)

Compute quartile deviation of dates:

Compute the weighted quartile deviation of dates:

Compare to unweighted quartile deviation:

Compute the quartile deviation of dates given in different calendars:

Compute the quartile deviation of times:

Compute the quartile deviation of times with different time zone specifications:

Distributions and Processes  (3)

Find the quartile deviation for a parametric distribution:

Quartile deviation for a derived distribution:

Data distribution:

Quartile deviation for a time slice of a random process:

Applications  (4)

Obtain a robust estimate of dispersion when extreme values are present:

Measures based on the Mean are heavily influenced by extreme values:

Identify periods of high volatility in stock data using a five-year moving quartile deviation:

Compute QuartileDeviation for slices of a collection of paths of a random process:

Choose a few slice times:

Plot of the quartile deviations for the selected times:

Find the quartile deviation of the heights for the children in a class:

Plot the quartile deviation respective of the median:

Properties & Relations  (3)

QuartileDeviation is half the difference of linearly interpolated Quantile values:

QuartileDeviation is half the difference between the first and third quartiles:

InterquartileRange is twice QuartileDeviation:

Also true for a distribution:

Possible Issues  (2)

QuartileDeviation requires numeric values in data:

The symbolic closed form may exist for some distributions:

QuartileDeviation is not the difference between the median and the first or the third quantiles:

The difference between the third and the first quantiles is given by InterquartileRange:

Neat Examples  (1)

The distribution of QuartileDeviation estimates for 20, 100 and 300 samples:

Wolfram Research (2007), QuartileDeviation, Wolfram Language function, https://reference.wolfram.com/language/ref/QuartileDeviation.html (updated 2024).

Text

Wolfram Research (2007), QuartileDeviation, Wolfram Language function, https://reference.wolfram.com/language/ref/QuartileDeviation.html (updated 2024).

CMS

Wolfram Language. 2007. "QuartileDeviation." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/QuartileDeviation.html.

APA

Wolfram Language. (2007). QuartileDeviation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuartileDeviation.html

BibTeX

@misc{reference.wolfram_2024_quartiledeviation, author="Wolfram Research", title="{QuartileDeviation}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/QuartileDeviation.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_quartiledeviation, organization={Wolfram Research}, title={QuartileDeviation}, year={2024}, url={https://reference.wolfram.com/language/ref/QuartileDeviation.html}, note=[Accessed: 22-November-2024 ]}