uM3pool | R Documentation |
Calculate pooled unbiased estimates of central moments and their powers and products.
uM3pool(m3, n_x, n_y)
m3 |
naive biased third central moment estimate |
n_x |
number of observations in the first group. |
n_y |
number of observations in the second group. |
Pooled estimate of a third central moment.
Other pooled estimates (two-sample):
uM2M3pool()
,
uM2M4pool()
,
uM2pool()
,
uM2pow2pool()
,
uM2pow3pool()
,
uM3pow2pool()
,
uM4pool()
,
uM5pool()
,
uM6pool()
nx <- 10
ny <- 8
shp <- 3
smpx <- rgamma(nx, shape = shp) - shp
smpy <- rgamma(ny, shape = shp)
mx <- mean(smpx)
my <- mean(smpy)
m <- numeric(3)
for (j in 2:3) {
m[j] <- mean(c((smpx - mx)^j, (smpy - my)^j))
}
uM3pool(m[3], nx, ny)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.