| interval_shape | R Documentation |
Functions to compute shape statistics (skewness, kurtosis) for interval-valued data.
int_skewness(x, var_name, method = "CM", ...)
int_kurtosis(x, var_name, method = "CM", ...)
int_symmetry(x, var_name, method = "CM", ...)
int_tailedness(x, var_name, method = "CM", ...)
x |
interval-valued data with symbolic_tbl class. |
var_name |
the variable name or the column location (multiple variables are allowed). |
method |
methods to calculate statistics: CM (default), VM, QM, SE, FV, EJD, GQ, SPT. |
... |
additional parameters |
These functions measure distribution shape:
int_skewness: Measure of asymmetry (skewness)
int_kurtosis: Measure of tail heaviness (kurtosis)
int_symmetry: Symmetry coefficient
int_tailedness: Tailedness measure (alias for excess kurtosis)
Skewness interpretation:
= 0: Symmetric distribution
> 0: Right-skewed (positive skew)
< 0: Left-skewed (negative skew)
Kurtosis interpretation (excess kurtosis):
= 0: Normal distribution (mesokurtic)
> 0: Heavy tails (leptokurtic)
< 0: Light tails (platykurtic)
A numeric matrix
Han-Ming Wu
int_mean int_var int_skewness int_kurtosis
data(mushroom.int)
# Calculate skewness
int_skewness(mushroom.int, var_name = "Pileus.Cap.Width")
int_skewness(mushroom.int, var_name = 2:3, method = c("CM", "EJD"))
# Calculate kurtosis
int_kurtosis(mushroom.int, var_name = c("Stipe.Length", "Stipe.Thickness"))
# Check symmetry
int_symmetry(mushroom.int, var_name = 2:4, method = "CM")
# Check tailedness
int_tailedness(mushroom.int, var_name = "Pileus.Cap.Width", method = "CM")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.