ECDF Plot#
See also
API Documentation: plot_ecdf()
import matplotlib.pyplot as plt
from scipy.stats import norm
import arviz as az
az.style.use("arviz-doc")
sample = norm(0, 1).rvs(1000)
distribution = norm(0, 1)
az.plot_ecdf(sample, cdf=distribution.cdf, confidence_bands=True)
plt.show()
from scipy.stats import norm
import arviz as az
sample = norm(0, 1).rvs(1000)
distribution = norm(0, 1)
az.plot_ecdf(sample, cdf=distribution.cdf, confidence_bands=True, backend="bokeh")