skewOS | R Documentation |
This function computes the skewness of the order statistics for a given distribution.
skewOS(r, n, dist = c("unif", "exp", "weibull", "tri"), ...)
r |
rank(s) of the desired order statistic(s) (e.g., |
n |
sample size from which the order statistic is derived. |
dist |
a character string specifying the name of a distribution. Supported values are:
|
... |
further arguments to be passed to |
The skewness of the r
th order statistic is calculated using the formula:
\text{Skewness}(X_{r:n}) = \text{E}(\frac{X_{r:n}-\mu_{r:n}} {\sigma_{r:n}})^3
where \mu_{r:n}
and \sigma_{r:n}
are the mean and standard deviation of the r
th order statistic, respectively.
The skewness of the r
th order statistic.
varOS, kurtOS
# Skewness of the 3rd order statistic for a uniform distribution
skewOS(3, 10, "unif")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.