Replies: 1 comment
-
Hi thearnieh! Thanks, glad you like predictr. Using the Bx-life percentile calculatorDescription: Computes the unreliability at given input time. If you're looking for the the opposit (calculating the time for a given unreliability value, then you can have a look at the work around I am proposing in 2. (see below)) Import predictr Let's use some data to conduct a Weibull analysis
Now we can use the classmethod get_bx_percentile(time, beta, eta) In my example for the instance x, the classmethod call would look like this for a given time=1.0
If you use a bias-correction method, e.g. c4 -> use x.beta_c4 and x.eta_c4. You can output the names of attributes for other bias-correction methods using the dir method: Using these for confidence bounds is not complicated, but would involve some coding. Hence, I should really implement it then for easier use ;) Get x-axis values (time, lifetime, cylces, etc.) for a given set of unreliabilty valuesThese values are already available and you just need to call them. The class attribute "unrel" contains [0.001, 0.002, 0.003, 0.005, 0.007, 0.01 , 0.02 , 0.03 , 0.05 , 0.07 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.632, 0.7 , 0.8 , 0.9 , 0.95 , 0.99 , 0.999] -> for these unreliability values we cann call the time values of the bounds Remember our instance is called x (see above)
Getting the values for the Weibull line would also involve some coding and is not "easy" to use. As you can see, the implementation is not fully complete and intuitive. I will try to implement and document everything this week. Please give me feedback, if this workaround helped you. If there are some other functionalities missing that you would like to use, please let me know. |
Beta Was this translation helpful? Give feedback.
-
Nice library. I am currently trying to find out how to calculate Bxx (or how to use the Bxx calculator). So my question: how can I calculate Bxx-Life (also on the confidence bound(s))?
Beta Was this translation helpful? Give feedback.
All reactions