Skip to content
Advertisement

Plot confidence interval of a duration series

I measured the duration of 6000 requests.

I got now an Array of 6000 elements. Each element represents the duration of a connection request in milliseconds. [3,2,2,3,4,2,2,4,2,3,3,4,2,4,4,3,3,3,4,3,2,3,5,5,2,4,4,2,2,2,3,5,3,2,2,3,3,3,5,4........]

I want to plot the confidence interval in Python and in a clearly arranged manner.

Do you have any Idea how I should plot them?

Advertisement

Answer

From what I understood this code should answer your question

JavaScript

enter image description here

For boxplot:

JavaScript

enter image description here

For Multiple Plots:

JavaScript

enter image description here

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement