Hi Rick,

Do you know if this manual method is much quicker than using 'proc freq'?
It's taking very long to compute the Chi2 p-values when running 'proc freq' separately 15,000 times (150 different subgroups x 100 variables).

Many thanks,
Charles.