cdf_cl¶
- nbi_stat.cdf_cl(x, cdf, p, direction=0)[source]¶
Evaluate the confince interval from an evaluated CDF
- Parameters:
x (array-like) – Where the CDF is evaluted
cdf (array-like) – The evaluted CDF
p (float) – Confidence levet to evaluate at
direction (int, str) –
Direction of the confidene interval
-1, ‘Lower’: Lower bound +1, ‘Upper’: Upper bound 0, ‘Centre’: Around centre
- Returns:
l, h – Lower and upper confidence bounds at confidence level p evaluated at x
- Return type:
(array-like,array-like)