easyiec.validation.ppi_mean#
- easyiec.validation.ppi_mean(y_labeled, yhat_labeled, yhat_unlabeled, alpha=0.05)[source]#
Prediction-powered estimate and confidence interval of a population mean.
\(\hat\theta=\bar f_{\text{unlabeled}}-\overline{(f-y)}_{\text{labeled}}\) with variance \(\hat\sigma_f^2/N+\hat\sigma_{f-y}^2/n\) (Angelopoulos et al., 2023). Also returns the classical estimate from the labeled data alone and the naive AI-only estimate for comparison.
Examples using easyiec.validation.ppi_mean#
May the AI replace the annotators? The alt-test and prediction-powered inference
May the AI replace the annotators? The alt-test and prediction-powered inference