pykelihood.profiler.Profiler.
confidence_interval#
- Profiler.confidence_interval(param, precision=1e-05)#
Compute the confidence interval for a given parameter. A binary search method is used to progressively narrow down the interval based on the likelihood and the desired confidence level. Uses the same logic as the test_profile_likelihood method.
- Parameters:
param (str) – Name of the parameter.
precision (float, optional) – Precision for the confidence interval calculation, by default 1e-5.
- Returns:
A tuple containing the lower and upper bounds of the confidence interval.
- Return type:
tuple