Handling nominal covariates with a large number of categories is challenging for both statistical and machine learning techniques. This problem is further exacerbated when the nominal variable has a hierarchical structure. We commonly rely on methods such as the random effects approach (Campo and Antonio, 2023) to incorporate these covariates in a predictive model. Nonetheless, in certain situations, even the random effects approach may encounter estimation problems. We propose the data-driven Partitioning Hierarchical Risk-factors Adaptive Top-down (PHiRAT) algorithm to reduce the hierarchically structured risk factor to its essence, by grouping similar categories at each level of the hierarchy. We work top-down and engineer several features to characterize the profile of the categories at a specific level in the hierarchy. In our workers' compensation case study, we characterize the risk profile of an industry via its observed damage rates and claim frequencies. In addition, we use embeddings (Mikolov et al., 2013; Cer et al., 2018) to encode the textual description of the economic activity of the insured company. These features are then used as input in a clustering algorithm to group similar categories. Our method substantially reduces the number of categories and results in a grouping that is generalizable to out-of-sample data. Moreover, we obtain a better differentiation between high-risk and low-risk companies.
Exploring dependence between categorical variables: benefits and limitations of using variable selection within Bayesian clustering in relation to log-linear modelling with interaction terms
Clustering methods for Categorical Time Series and Sequences : A scoping review
Université Paris Cité, Université Sorbonne Paris Nord, INSERM, INRAE, Centre for Research in Epidemiology and StatisticS (CRESS)(巴黎西岱大学、北巴黎索邦大学、法国国家健康与医学研究院、法国国家农业食品与环境研究院、流行病学与统计学研究中心);Centre D’Epidemiologie Clinique, AP-HP, Hôpital Hôtel Dieu(临床流行病学中心、巴黎公立医院集团、主宫医院)
Consistency of Optimal Matching-based Clustering for Mixtures of Markov Chains
Université Paris Cité(巴黎西岱大学);Université Sorbonne Paris Nord(索邦巴黎北大学);INSERM(法国国家健康与医学研究院);INRAE(法国国家农业、食品与环境研究院);Centre for Research in Epidemiology and StatisticS (CRESS)(流行病学与统计学研究中心)