Runs the classical linear a-hat vs a PoD analysis with bootstrapped bounds.
Fits a straight line to the outcome against poi_col (optionally on log axes) with Gaussian residuals, computes the PoD curve on 100 points across the observed range and bootstraps confidence bounds. Uses the cleaned data and the study’s outcome column. Results are stored in linear_pod_results.
Parameters
Name
Type
Description
Default
poi_col
str
The parameter of interest (e.g. defect size).
required
threshold
float
Detection threshold on the outcome, in its original units.
required
xlog
bool
Fit against log(poi_col). Defaults to False.
False
ylog
bool
Fit log(outcome). Defaults to False.
False
n_boot
int
Bootstrap iterations for the confidence bounds; 0 skips them (bounds then equal the PoD curve and a90/95 is NaN). Defaults to 1000.
1000
n_jobs
int
Parallel workers for the bootstrap. Defaults to None.
None
progress_callback
callable
Called with bootstrap progress. Defaults to None.
None
Returns
Name
Type
Description
Dict[str, Any]
Dict[str, Any]: The results, also stored in linear_pod_results. Keys