Normalizing histograms and Finding best fit distribution

1 reply · 13K views · last reply
shegal
Messages
3
Reaction score
0
I have plotted packets arriving in one second at a router. I then made histograms of the number of occurences of same number of packets in one second time window. My question is that I want to normalize these histograms. How can I do this to get probability mass functions. And then how do I check which distributions give the best fit for these histograms.
 
Attachments
  • Bar chart titled Histogram for 1 sec Window, labelled LL_DDoS_v2_Inside, of number of occurrence against packets per window from 1 to about 330; counts are highest at low packet numbers and fall off steeply.
    LL_DDoS_V2_Inside.JPG
    49.6 KB · Views: 740
  • Bar histogram titled Histogram for 1 second Window, labelled LL_DDoS_V2_Outside, of packets per window (x-axis, 1 to about 4587) against number of occurrences (y-axis, 0 to 990). Bars are tall only at low packet counts, peaking near 270, and fall to near zero beyond about 60 packets.
    LL_DDoS_V2_Outside.JPG
    51.6 KB · Views: 615
  • Bar chart titled Histogram per 1 Sec Time Window, labelled LL_DDoS_V2_Inside: No of Occurence on the y-axis (-10 to 450) against Packets per Window on the x-axis, with tall bars at low packet counts that decline steadily toward a long tail of near-zero bars.
    LL_DDoS_V1_Inside.JPG
    50.9 KB · Views: 602
To normalize, you should express the number of packets as percent of the total, so in the end they add up to 100%.

I'd start with the lognormal distribution.