Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: pdfbin cdfbin randbin

Macro: grbinomial
Description: generates a graphical object which represents the probability function of a binomial distribution B(n,p)

Usage: grbin = grbinomial (n, p {, col})
Input:
n scalar parameter of binomial distribution
p scalar parameter of binomial distribution
col color vector
Output:
grbin graphical object

Example:
; load the library graphic
library ("graphic")
; generate a graph of B(3, 0.5)
gr = grbinomial (3, 0.5)
plot (gr)
Result:
shows the binomial prob func for B(3, 0.5)

Library: graphic
See also: pdfbin cdfbin randbin

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: SK, WH, 981231
(C) MD*TECH Method and Data Technologies, 17.8.2000