Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: calculate Chi-Square test

by shagbark (Novice)
on Aug 27, 2013 at 19:01 UTC ( #1051185=note: print w/ replies, xml ) Need Help??


in reply to Re: calculate Chi-Square test
in thread calculate Chi-Square test

Statistics::ChiSquared is not a suitable package except for preliminary investigation, as it returns a text string which you have to parse the numbers out of, but more importantly as it doesn't return the correct numbers, but rounds everything off to the nearest 5% (and appears to have some special love of 30% and 70%).

If every mathematical package returned a text string explaining the result rather than the result, because they don't trust you to interpret the result correctly, using Perl for math would be hell.

Note the documentation says "use Statistics::Chisquare", but correct usage is "use Statistics::ChiSquare".


Comment on Re^2: calculate Chi-Square test

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051185]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-12-28 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls