in reply to calculate Chi-Square test
Take a look at Statistics::ChiSquare. If you are being asked to write this from scratch by your boss, professor or whoever check out: http://en.wikipedia.org/wiki/Chi-squared_test.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
In Section
Seekers of Perl Wisdom