Stratification: Measuring and Inference