Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: [OT] Statistics question.

by pvaldes (Chaplain)
on Jan 30, 2013 at 19:25 UTC ( #1016142=note: print w/ replies, xml ) Need Help??

in reply to Re: [OT] Statistics question.
in thread [OT] Statistics question.

The overlapping depends a lot of the size of the sample. To find the standard deviation of each population is easy:

use Statistics::Basic qw(stddev); #generate a lot of random numbers, by the preferred way, ie: for (1..1000){ $number1= int(rand(100000000)); push @listofnumbers1, $number1;} my $stddev1 = stddev(@listofnumbers1); #repeat the process push @listofnumbers2, $number2; my $stddev2 = stddev(@listofnumbers2);

Comment on Re^2: [OT] Statistics question.
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2015-11-30 21:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (783 votes), past polls