Cumulative Univariate Analysis
Explore advanced techniques in univariate analysis using Plotly. Learn to create cumulative histograms, empirical cumulative distribution functions, and violin plots to better understand the distribution and characteristics of numeric data.
Let’s extend our knowledge of univariate analysis with some advanced plots:
Cumulative histogram
A cumulative histogram is a graphical representation of the cumulative distribution of a numeric variable. It shows the cumulative frequency of the data points that are less than or equal to a certain value .
Advantages | Disadvantages |
Can help us identify percentile values for a numeric variable | Can be tricky to identify specific values within a data set, as the focus is on the overall distribution of the data |
Easy to interpret and aesthetically pleasing | -- |
Cumulative histogram: Plotly Express
All we have to do is add a cumulative=True argument.
Cumulative histogram: Plotly graph objects
The process is the same. However, we can now add cumulative_enabled=True.
Empirical cumulative distribution function
An empirical ...