SE250:lab-5:ssre005

From Marks Wiki
Revision as of 05:19, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (10 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sample Size used: 100.

&rt_add_buzhash:

low_entropy:

Testing Buzhash low on 100 samples Entropy = 6.328758 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 20 percent.

Chi square distribution for 100 samples is 243.04, and randomly would exceed this value 50.00 percent of the times.

Arithmetic mean value of data bytes is 131.7000 (127.5 = random). Monte Carlo value for Pi is 3.000000000 (error 4.51 percent). Serial correlation coefficient is -0.135626 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294

&rt_add_buzhashn:

low entropy:

Testing Buzhash low on 100 samples Entropy = 6.443856 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 19 percent.

Chi square distribution for 100 samples is 207.20, and randomly would exceed this value 97.50 percent of the times.

Arithmetic mean value of data bytes is 108.6700 (127.5 = random). Monte Carlo value for Pi is 3.250000000 (error 3.45 percent). Serial correlation coefficient is -0.044846 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_hash_CRC

low_entropy:

Testing Buzhash low on 100 samples Entropy = 3.226439 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 59 percent.

Chi square distribution for 100 samples is 3745.12, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 94.3100 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is -0.387304 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294

&rt_add_base256:

low_entropy

Testing Buzhash low on 100 samples Entropy = 0.000000 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 100 percent.

Chi square distribution for 100 samples is 25500.00, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 97.0000 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is undefined (all values equal!).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_Java_Integer

low_entropy:

Testing Buzhash low on 100 samples Entropy = 1.895431 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 76 percent.

Chi square distribution for 100 samples is 14748.00, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 3.0000 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is -0.225000 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294



&rt_add_Java_Object:

low_entropy:

Testing Buzhash low on 100 samples Entropy = 2.000000 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 75 percent.

Chi square distribution for 100 samples is 6300.00, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 77.0000 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is -0.521556 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294



&rt_add_Java_String:

low:

Testing Buzhash low on 100 samples Entropy = 6.363856 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 20 percent.

Chi square distribution for 100 samples is 237.92, and randomly would exceed this value 75.00 percent of the times.

Arithmetic mean value of data bytes is 133.4800 (127.5 = random). Monte Carlo value for Pi is 3.000000000 (error 4.51 percent). Serial correlation coefficient is 0.052837 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_rand:

low:

Testing Buzhash low on 100 samples Entropy = 6.196307 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 22 percent.

Chi square distribution for 100 samples is 294.24, and randomly would exceed this value 5.00 percent of the times.

Arithmetic mean value of data bytes is 104.7000 (127.5 = random). Monte Carlo value for Pi is 3.500000000 (error 11.41 percent). Serial correlation coefficient is 0.067512 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294



&rt_add_high_rand:


low:

Testing Buzhash low on 100 samples Entropy = 6.301210 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 21 percent.

Chi square distribution for 100 samples is 253.28, and randomly would exceed this value 50.00 percent of the times.

Arithmetic mean value of data bytes is 123.6300 (127.5 = random). Monte Carlo value for Pi is 3.500000000 (error 11.41 percent). Serial correlation coefficient is -0.158615 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294




&rt_add_buzhash:

typical_entropy:

Testing Buzhash low on 100 samples Entropy = 6.241210 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 21 percent.

Chi square distribution for 100 samples is 268.64, and randomly would exceed this value 50.00 percent of the times.

Arithmetic mean value of data bytes is 122.3900 (127.5 = random). Monte Carlo value for Pi is 3.750000000 (error 19.37 percent). Serial correlation coefficient is -0.087142 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_buzhashn: typical entropy:

Testing Buzhash low on 100 samples Entropy = 6.443856 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 19 percent.

Chi square distribution for 100 samples is 207.20, and randomly would exceed this value 97.50 percent of the times.

Arithmetic mean value of data bytes is 108.6700 (127.5 = random). Monte Carlo value for Pi is 3.250000000 (error 3.45 percent). Serial correlation coefficient is -0.044846 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294

Compilation finished at Tue Apr 08 11:30:16



&rt_add_hash_CRC

typical_entropy:

Testing Buzhash low on 100 samples Entropy = 5.209087 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 34 percent.

Chi square distribution for 100 samples is 934.24, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 80.3000 (127.5 = random). Monte Carlo value for Pi is 3.750000000 (error 19.37 percent). Serial correlation coefficient is 0.111823 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


typical_entropy:

Testing Buzhash low on 100 samples Entropy = 3.632803 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 54 percent.

Chi square distribution for 100 samples is 2762.08, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 95.7000 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is 0.255807 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_Java_Integer

typical_entropy:

Testing Buzhash low on 100 samples Entropy = 1.895431 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 76 percent.

Chi square distribution for 100 samples is 14748.00, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 3.0000 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is -0.225000 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_Java_Object:

typical:

Testing Buzhash low on 100 samples Entropy = 3.587775 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 55 percent.

Chi square distribution for 100 samples is 3366.24, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 84.1100 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is -0.742768 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294




&rt_add_Java_String: typical:

Testing Buzhash low on 100 samples Entropy = 5.471272 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 31 percent.

Chi square distribution for 100 samples is 739.68, and randomly would exceed this value 0.01 percent of the times.

Arithmetic mean value of data bytes is 97.7500 (127.5 = random). Monte Carlo value for Pi is 4.000000000 (error 27.32 percent). Serial correlation coefficient is 0.147603 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294



&rt_add_rand:

typical:

Testing Buzhash low on 100 samples Entropy = 6.196307 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 22 percent.

Chi square distribution for 100 samples is 294.24, and randomly would exceed this value 5.00 percent of the times.

Arithmetic mean value of data bytes is 104.7000 (127.5 = random). Monte Carlo value for Pi is 3.500000000 (error 11.41 percent). Serial correlation coefficient is 0.067512 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294


&rt_add_high_rand:

typical:

Testing Buzhash low on 100 samples Entropy = 6.301210 bits per byte.

Optimum compression would reduce the size of this 100 byte file by 21 percent.

Chi square distribution for 100 samples is 253.28, and randomly would exceed this value 50.00 percent of the times.

Arithmetic mean value of data bytes is 123.6300 (127.5 = random). Monte Carlo value for Pi is 3.500000000 (error 11.41 percent). Serial correlation coefficient is -0.158615 (totally uncorrelated = 0.0).

Buzhash low 300/3000: llps = 2, expecting 2.38294



Order from Highest to Lowest Entropy for Low Entropy Input:

buzhashn

Java String

buzhash

high rand

rand

hash CRC

Java Object

Java Integer

base256


Order from Highest to Lowest Entropy for Low Entropy Input:

buzhashn

high rand

buzhash

rand

Java String

hash CRC

base256

Java Integer


Part 2:

Buzhash typical 300/3000: llps = 2, expecting 2.38294

hash_CRC typical 300/3000: llps = 2, expecting 2.38294

base256 typical 300/3000: llps = 10, expecting 2.38294

Java_Object typical 300/3000: llps = 2, expecting 2.38294

Java_String typical 300/3000: llps = 2, expecting 2.38294


Buzhash low 300/3000: llps = 2, expecting 2.38294

hash_CRC low 300/3000: llps = 2, expecting 2.38294

base256 low 300/3000: llps = 10, expecting 2.38294

Java_Object low 300/3000: llps = 2, expecting 2.38294

Java_String low 300/3000: llps = 2, expecting 2.38294