The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Tail Index for Nominal Variables

library(nomiShape)

Tail Index for Nominal Variables

This vignette demonstrates how to compute the tail index for nominal variables using the tail_index function from the nomiShape package. The tail index quantifies the proportion of categories contributing to the lower part of the distribution, useful for identifying long-tail structures in nominal data.

Computing Tail Index

# Example usage of tail_index
tail_index(categories, "animal")
#> [1] 0.1818182
# Example usage of tail_index
tail_index(categories2, "animal", threshold = 0.9)
#> [1] 0.1818182
# Example usage of tail_index
tail_index(categories3, "animal", threshold = 0.75)
#> [1] 0.7272727

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.