Class used to calculate the confidence interval.
|
__init__(self,
minimizer,
p_names=None,
prob_func=None,
sigmas=( 0.674, 0.95, 0.997) ,
trace=False,
verbose=False,
maxiter=20)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
calc_all_ci(self)
Calculates all cis, and returns the cis in a structured dict as: ci =
{pname = {'0.95'=(lower, upper), '0.66'=(lower, upper)} } |
source code
|
|
|
calc_ci(self,
para,
direction)
Calculate the ci for a single parameter for a single direction. |
source code
|
|
|
|
|
find_limit(self,
para,
direction)
For given para, search a value so that prob(val) > sigmas. |
source code
|
|
|
calc_prob(self,
para,
val,
offset=0.0,
restore=True)
Returns the probability for given Value. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|