Re: adding populations

2009-10-08 Thread John W. Krahn
Jesus Fernandez wrote: Dear friends, Hello I'm trying to write a program that draws 5,000 numbers from an exponential distribution with mean 4N/k(k-1) N=10 000 k = 25 I have this: #!jesusafernandez/bin/perl use warnings; use strict; $k = 25; my $k = 25; $N = 1; my $N = 10_000

Re: adding populations

2009-10-08 Thread Jesus Fernandez
Dear friends, I'm trying to write a program that draws 5,000 numbers from an exponential distribution with mean 4N/k(k-1) N=10 000 k = 25 I have this: #!jesusafernandez/bin/perl $k = 25; $N = 1; for ($samp=0; $samp<5000; $samp++) { while ($k!= "$25") { $mean = 4$N/$k($k

Re: adding populations

2009-10-06 Thread Telemachus
On Tue Oct 06 2009 @ 11:24, Jesus Fernandez wrote: > Dear friends, > > I'm working in a genetic drift simulation and I want to add a second > population to my script, any suggestions how to do that? Is this a follow-up to a previous question? Either way, please keep in mind that we don't have any