1
0
mirror of https://github.com/msberends/AMR.git synced 2025-12-18 20:20:23 +01:00

Built site for AMR@3.0.1.9003: ba30b08

This commit is contained in:
github-actions
2025-11-24 10:42:21 +00:00
parent 7d16891987
commit 141fc468f8
161 changed files with 21798 additions and 313 deletions

49
reference/skewness.md Normal file
View File

@@ -0,0 +1,49 @@
# Skewness of the Sample
Skewness is a measure of the asymmetry of the probability distribution
of a real-valued random variable about its mean.
When negative ('left-skewed'): the left tail is longer; the mass of the
distribution is concentrated on the right of a histogram. When positive
('right-skewed'): the right tail is longer; the mass of the distribution
is concentrated on the left of a histogram. A normal distribution has a
skewness of 0.
## Usage
``` r
skewness(x, na.rm = FALSE)
# Default S3 method
skewness(x, na.rm = FALSE)
# S3 method for class 'matrix'
skewness(x, na.rm = FALSE)
# S3 method for class 'data.frame'
skewness(x, na.rm = FALSE)
```
## Arguments
- x:
A vector of values, a [matrix](https://rdrr.io/r/base/matrix.html) or
a [data.frame](https://rdrr.io/r/base/data.frame.html).
- na.rm:
A [logical](https://rdrr.io/r/base/logical.html) value indicating
whether `NA` values should be stripped before the computation
proceeds.
## See also
[`kurtosis()`](https://amr-for-r.org/reference/kurtosis.md)
## Examples
``` r
skewness(runif(1000))
#> [1] -0.01429035
```