QuartileSkewness

QuartileSkewness[data]

gives the coefficient of quartile skewness for the elements in list.

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

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

QuartileSkewness[dist]

gives the coefficient of quartile skewness for the distribution dist.

Details

  • QuartileSkewness[data] is given by , where is given by Quartiles[data].
  • A positive value of quartile skewness indicates the median is closer to the lower quartile than the upper quartile .
  • A negative value of quartile skewness indicates the median is closer to the upper quartile .
  • QuartileSkewness[data,{{a,b},{c,d}}] uses computed as Quartiles[data, {{a,b},{c,d}}]. »
  • Common choices of parameters {{a,b},{c,d}} include:
  • {{0, 0}, {1, 0}}inverse empirical CDF
    {{0, 0}, {0, 1}}linear interpolation (California method)
    {{1/2, 0}, {0, 0}}element numbered closest to p n
    {{1/2, 0}, {0, 1}}linear interpolation (hydrologist method; default)
    {{0, 1}, {0, 1}}meanbased estimate (Weibull method)
    {{1, -1}, {0, 1}}modebased estimate
    {{1/3, 1/3}, {0, 1}}medianbased estimate
    {{3/8, 1/4}, {0, 1}}normal distribution estimate
  • The default choice of parameters is {{1/2,0},{0,1}}. »
  • The data can have the following additional forms and interpretations:
  • Associationthe values (the keys are ignored) »
    SparseArrayas an array, equivalent to Normal[data] »
    QuantityArrayquantities as an array »
    WeightedDatabased on the underlying EmpiricalDistribution »
    EventDatabased on the underlying SurvivalDistribution »
    TimeSeries, TemporalData, vector or array of values (the time stamps ignored) »
    Image,Image3DRGB channels values or grayscale intensity value »
    Audioamplitude values of all channels »
    DateObject, TimeObjectlist of dates or list of times »

Examples

open allclose all

Basic Examples  (3)

Quartile skewness for a list of exact numbers:

Quartile skewness of a list of dates:

Quartile skewness 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 skewness for WeightedData:

Find the quartile skewness for EventData:

Find the quartile skewness for TemporalData:

Find the quartile skewness of TimeSeries:

The quartile skewness depends only on the values:

Find the quartile skewness for data involving quantities:

Array Data  (5)

QuartileSkewness for a matrix gives columnwise ranges:

QuartileSkewness for a tensor gives columnwise medians at the first level:

Works with large arrays:

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

SparseArray data can be used just like dense arrays:

Find quartile skewness of a QuantityArray:

Image and Audio Data  (2)

Channel-wise quartile skewness value of an RGB image:

Quartile skewness intensity value of a grayscale image:

Quartile skewness amplitude of all amplitude values of all channels:

Date and Time  (5)

Compute quartile skewness of dates:

Compute the weighted quartile skewness of dates:

Compare with simple quartile skewness:

Compute the quartile skewness of dates given in different calendars:

Compute the quartile skewness of times:

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

Distributions and Processes  (3)

Find the quartile skewness for a parametric distribution:

Quartile skewness for a derived distribution:

Data distribution:

Quartile skewness for a time slice of a random process:

Applications  (6)

Zero QuartileSkewness indicates the median is equally distant from the remaining quartiles:

Positive QuartileSkewness indicates that the median is closer to the lower quartile:

Negative QuartileSkewness indicates that the median is closer to the upper quartile:

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

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

This time series contains the number of steps taken daily by a person during a period of five months:

Median number of steps:

Analyze whether the step distribution is skewed toward the lower or the upper quartile:

The histogram of the frequency of daily counts shows that the median is closer to the upper quartile:

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

Negative quartile skewness indicates that the median is closer to the lower quartile:

Properties & Relations  (3)

QuartileSkewness is a function of linearly interpolated Quantile values:

QuartileSkewness is a function of quartiles:

QuartileSkewness is a function of the median, first quartile and a dispersion measure:

Possible Issues  (1)

QuartileSkewness requires numeric values:

Neat Examples  (1)

The distribution of QuartileSkewness estimates for 50, 100 and 300 samples:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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