M2pow3one | R Documentation |
Calculate unbiased estimates of central moments and their powers and products.
M2pow3one(m2, m3, m4, m6, n)
m2 |
naive biased variance estimate |
m3 |
naive biased third central moment estimate |
m4 |
naive biased fourth central moment estimate |
m6 |
naive biased sixth central moment estimate |
n |
sample size. |
Unbiased estimate of cubed variance central moment
\mu_2^3
, where \mu_2
is a variance.
Other unbiased estimates:
M2M3one()
,
M2M3two()
,
M2M4one()
,
M2M4two()
,
M2one()
,
M2pow2one()
,
M2pow2two()
,
M2pow3two()
,
M2two()
,
M3one()
,
M3pow2one()
,
M3pow2two()
,
M3two()
,
M4one()
,
M4two()
,
M5one()
,
M5two()
,
M6one()
,
M6two()
n <- 10
smp <- rgamma(n, shape = 3)
for (j in 2:6) {
assign(paste("m", j, sep = ""), mean((smp - mean(smp))^j))
}
M2pow3one(m2, m3, m4, m6, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.