By downloading this code you agree to the
Source Code Use License (PDF). |
{version = 1.19; (* of mnomial, 1994 sep 54}
(* begin module describe.mnomial *)
(*
name
mnomial: produce the multinomial distribution for base probabilities
synopsis
mnomial(mnomialp: in, list: out, output: out)
files
mnomialp: parameters to control the program, as pairs of lines
first line: na,nc,ng,nt
second line: pa,pc,pg,pt
this may repeat.
When ng=nt=0 and pg=pt=0, the binomial distribution is calculated.
The mean (n*pa) and standard deviation (sqrt(n*pa*pc)) are given.
list: results
output: messages to the user
description
This program calculates the multinomial distribution:
(na+nc+ng+nt)! na nc ng nt
p(na,nc,ng,nt|pa,pc,pg,pt) = -------------- pa pc pg pt
na!nc!ng!nt!
see also
binplo.p
author
Thomas Dana Schneider
bugs
none known
*)
(* end module describe.mnomial *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}