October 2018
Beginner to intermediate
676 pages
18h 30m
English
Import the required libraries, set the background style to white, and enable color_codes to be mapped to seaborn colors when specified in Matplotlib format:
import matplotlib.pyplot as pltimport seaborn as snsfrom scipy.stats import norm, pareto, gammasns.set(style="whitegrid", color_codes=True)
scipy.stats is a scientific Python library containing various statistical functions, and norm, pareto, and gamma are different type of probability distribution functions. We will use them to fit the given dataset to see which distribution fits the data well.
Read now
Unlock full access