Welcome to ClientVPS Mirrors

Tail Index for Nominal Variables

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

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.