1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 19:26:12 +01:00
AMR/man/skewness.Rd

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-07-08 22:14:55 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/skewness.R
\name{skewness}
\alias{skewness}
\alias{skewness.default}
\alias{skewness.matrix}
\alias{skewness.data.frame}
\title{Skewness of the Sample}
2018-07-08 22:14:55 +02:00
\usage{
skewness(x, na.rm = FALSE)
\method{skewness}{default}(x, na.rm = FALSE)
\method{skewness}{matrix}(x, na.rm = FALSE)
\method{skewness}{data.frame}(x, na.rm = FALSE)
}
\arguments{
2020-10-08 11:16:03 +02:00
\item{x}{a vector of values, a \link{matrix} or a \link{data.frame}}
2018-07-08 22:14:55 +02:00
2021-05-12 18:15:03 +02:00
\item{na.rm}{a \link{logical} value indicating whether \code{NA} values should be stripped before the computation proceeds}
2018-07-08 22:14:55 +02:00
}
\description{
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.
2018-07-08 22:14:55 +02:00
}
2022-08-21 16:37:20 +02:00
\examples{
skewness(runif(1000))
2019-01-02 23:24:07 +01:00
}
2018-07-08 22:14:55 +02:00
\seealso{
\code{\link[=kurtosis]{kurtosis()}}
2018-07-08 22:14:55 +02:00
}