for Statistical Inference Class