When transforming a categorical variable into dummy variable…
When transforming a categorical variable into dummy variables, the dummy variables are distributed uniformly between 0 and 1 across the range of N, where N is the sum of all sample sizes across the k samples.