Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23247

Is there a Python function for generating Weibull probability plots like wblplot() in Matlab?

$
0
0

I would like to reproduce the same graph as shown on Matlab's wblplot() documentation:Matlab wblplot() documentation

I am wondering if there is a way to generate this on Python, either with an existing library/function or user-defined.

  • How do I create the "uneven" tick/grid spacing on the y-axis?
  • How do I fit the shape & scale parameters for a set of data?Please let me know if you have any insight on either issue!Image from Matlab's wblplot() documentation.

I'm ignorant to what parameters this plot requires. I can manually fit the shape/scale on statistical software, like JMP or Origin, but I don't know how to get these values mathematically or programmatically.Initially, I attempted to fit a CDF to the data, but that doesn't give me what I desire.I can edit the ticks for the y-axis to represent the probability quantiles, but it gets congested at lower values (e.g. 0.01, 0.02, 0.05) and I'm not sure how to increase the spacing.

Figure generated using scipy.stats.weibull_min.cdf()

Data

enter code here

Viewing all articles
Browse latest Browse all 23247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>