mu3 | R Documentation |
The function computes the unbiased estimate of the third central moment
mu3(x, na.rm = FALSE)
x |
numeric vector of at least length 3 |
na.rm |
logical value indicating whether NA values should be stripped before the computation proceeds. |
The function mu3
computes the unbiased estimate of the third central moment
of a given vector. The input must numeric (as determined by
is.numeric
) and of length at least 3
(excluding NA
's. If na.rm
is TRUE
, the NA
entries in the given vector will be ignored.
The unbiased sample central moment of X
Ken Kelley kkelley@nd.edu, Francis Bilson Darku fbilsond@nd.edu, Bhargab Chattopadhyay bhargab@utdallas.edu
x <- rnorm(10) mu3(x) y <- c(1, 3, 1, 5, 6, 3, NA, 3 ,4, NA, 2) mu3(y, na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.