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

Re^4: Excel or Perl for simple statistics?

by poj (Abbot)
on Jan 20, 2018 at 17:06 UTC ( [id://1207588]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Excel or Perl for simple statistics?
in thread Excel or Perl for simple statistics?

.. as array instead of array reference ..

I get the same either way and no difference with Excel

#!perl use strict; use Statistics::Basic 'stddev'; my @data = (0.964, 0, 0, 0.94, 0.895, 0.915, 0.775, 0.868, 0, 0.796, 0.866, 0.819, 0, 0, 0, 0, 0.794, 0.806, 0.781, 0.807, 0.783); print stddev(\@data)+0; print "\n"; print stddev(@data)+0; # 0.400791162022762 # excel # STDEVP # Calculates standard deviation based # on the entire population given as arguments. # 0.400791162
poj

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-24 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found