Description Usage Arguments Details Author(s) References See Also
The sample central moment is defined by
m_j = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( x_i - \bar{x} \right)^j %(\#eq:dist-moments-sample-central)
where
n is the sample size,
x = \{x_1 … x_n\} is a set of values of a random variable X,
\bar{x} is the sample mean of x, and
j is the jth central moment.
1 | moment(x, j)
|
x |
Numeric vector. Sample data. |
j |
Integer.
|
m_0 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( x_i - \bar{x} \right)^0 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( 1 \right) = \frac{1}{n} n = \frac{n}{n} = 1 %(\#eq:dist-moments-sample-central-zero)
m_1 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( x_i - \bar{x} \right)^1 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( 0 \right) = \frac{1}{n} 0 = \frac{0}{n} = 0 %(\#eq:dist-moments-sample-central-first)
m_2 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( x_i - \bar{x} \right)^2 %(\#eq:dist-moments-sample-central-second)
m_3 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( x_i - \bar{x} \right)^3 %(\#eq:dist-moments-sample-central-third)
m_4 = \frac{1}{n} ∑_{i = 1}^{n} ≤ft( x_i - \bar{x} \right)^4 %(\#eq:dist-moments-sample-central-fourth)
The "zeroth" central moment is 1.
The first central moment is 0.
The second cental moment is the variance.
The third central moment is used to define skewness.
The fourth central moment is used to define kurtosis.
Ivan Jacob Agaloos Pesigan
Wikipedia: Standardized Moment
Other moments functions:
cumulant()
,
kurt()
,
moments()
,
skew()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.