MLE estimator with consistent output format.
mle_point_and_ci.RdWrapper around fit_misclass_mle() that returns output in the same
format as other estimators (ppi_point_and_ci(), rg_point_and_ci(), etc.).
Arguments
- Y_cal
Vector of human labels on the calibration set (0/1).
- Yhat_cal
Vector of surrogate predictions on the calibration set (0/1).
- Yhat_test
Vector of surrogate predictions on the test set (0/1).
- alpha
Miscoverage level for the confidence interval.
Value
A list containing:
- theta
Point estimate of the prevalence.
- var
Estimated variance of theta (from observed information).
- ci_lower
Lower bound of the confidence interval.
- ci_upper
Upper bound of the confidence interval.
- q0_hat
Estimated specificity.
- q1_hat
Estimated sensitivity.
- full_fit
The full output from fit_misclass_mle for advanced use.