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;

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.