Pseudo-random functions
Our next experiment is just to make sure that the results obtained previously are still valid for the case of estimating a proportion.
# Point to your pcap
pcap=../pcaps/equinix-chicago.dirB.20130529-135900.UTC.anon.pcap 
for ID in {1..100}
do
python estimate-ratio.py random.$ID $pcap --rows ROWS --columns COLUMNS \
  --numPackets PACKETS --maxIter 100 --averageFunction mean \
  --dropProbability PDROP --digestSize 32
doneAs the figures below show, results are similar as previously: all the implementations for the xi and hash functions seem to provide the same standard error.
 

| Parameter | Value | 
|---|---|
| Packets | 10000 | 
| Drop probability | 10% | 
| Columns | 32 | 
| Rows | 32 | 
| Digest size | 32 | 
| Hash function | {EH3, BCH3, BCH5, CW2, CW4} | 
| Xi function | {CW2, CW4, Tabulated} | 
| Pcap | CAIDA | 
| Average function | mean |