Stratified trend and homogeneity analyses of proportions and life table data