The Chi-squared test is a primary statistical method for detecting drift in categorical features by comparing observed and expected frequencies, but it requires a sufficiently large sample size and can be less effective with numerous categories or zero counts. [6, 11, 17]