Weibayes

Class Documentation

class weibull.Weibayes(data: list, confidence_level: float = None, beta: float = 2.0)

Weibayes-style analysis of the data with a confidence level and beta.

Parameters:
  • data – The data for each unit
  • confidence_level – The fractional level of confidence, 0.001 to 0.999
  • beta – The shape parameter
b(b_spec: int = 10, confidence_level: float = None)

Calculates the B-life

Parameters:
  • b_spec – the B-specification (for instance, ‘10’)
  • confidence_level – the confidence level (usually between 0.01 and 0.99)
Returns:

the B life

plot(confidence_level: float = None, show: bool = True, file_name: str = None)

Plot the linear plot line.

Confidence_level:
 the desired confidence level
Show:True if the plot is to be shown
File_name:Save the plot as “file_name”