Two applications of quantitative methods in education : sampling design effects in large-scale data and causal inference of class-size effects