https://raw.githubusercontent.com/MatthewReid854/reliability/master/docs/images/logo.png

PP_plot_parametric

class reliability.Probability_plotting.PP_plot_parametric

A PP_Plot is a probability-probability plot that consists of plotting the CDF of one distribution against the CDF of another distribution. If the distributions are similar, the PP_Plot will lie on the diagonal. This version of a PP_Plot is the fully parametric form in which we plot one distribution against another distribution. There is also a semi-parametric form offered in PP_plot_semiparametric.

Inputs: X_dist - a probability distribution. The CDF of this distribution will be plotted along the X-axis. Y_dist - a probability distribution. The CDF of this distribution will be plotted along the Y-axis. y_quantile_lines - starting points for the trace lines to find the X equivalent of the Y-quantile. Optional input. Must be list or array. x_quantile_lines - starting points for the trace lines to find the Y equivalent of the X-quantile. Optional input. Must be list or array. show_diagonal_line - True/False. Default is False. If True the diagonal line will be shown on the plot.

Outputs: The PP_plot is the only output. Use plt.show() to show it.