in reply to Re: Sample Probabilities
in thread Sample Probabilities
There appears to have been a C&P error in your code. This line is missing a ;
$total *= lower($sizes->[$_], $sampled[$_]) / fact($sampled[$_])
and by implication of your use of $_, also a for modifier?
Should that be?
$total *= lower($sizes->[$_], $sampled[$_]) / fact($sampled[$_]) for + 0..$n-1;
|
|---|