similar_distributions(distribution, include_location_shifted=True, show_plot=True, print_results=True, number_of_distributions_to_show=3)¶
This is a tool to find similar distributions when given an input distribution. It is useful to see how similar one distribution is to another. For example, you may look at a Weibull distribution and think it looks like a Normal distribution. Using this tool you can determine the parameters of the Normal distribution that most closely matches your Weibull distribution.
Inputs: distribution - a distribution object created using the reliability.Distributions module include_location_shifted - True/False. Default is True. When set to True it will include Weibull_3P, Lognormal_3P, Gamma_3P, Exponential_2P, Loglogistic_3P show_plot - True/False. Default is True print_results - True/False. Default is True number_of_distributions_to_show - the number of similar distributions to show. Default is 3. If the number specified exceeds the number available (typically 10), then the number specified will automatically be reduced.
Outputs: results - an array of distributions objects ranked in order of best fit. most_similar_distribution - a distribution object. This is the first item from results.
Example usage: from reliability.Distributions import Weibull_Distribution from reliability.Other_functions import similar_distributions dist = Weibull_Distribution(alpha=50,beta=3.3) similar_distributions(distribution=dist)