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: stats
See also: pdfbin cdfbin randbin

Quantlet: qfbin
Description: computes the quantile function for a binomial distribution

Usage: q = qfbin(n, p, x)
Input:
n scalar parameter of the binomial distribution
p scalar parameter of the binomial distribution
x m x 1 vector of quantiles (0<=x<=1)
Output:
q m x 1 vector of the quantile function

Example:

library ("stats")

qfbin (20, 0.1, uniform(10))

Result:

Contents of q

[ 1,]        0 

[ 2,]        0 

[ 3,]        1 

[ 4,]        2 

[ 5,]        0 

[ 6,]        1 

[ 7,]        2 

[ 8,]        2 

[ 9,]        2 

[10,]        1        


Library: stats
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: Sigbert Klinke, 980827
(C) MD*TECH Method and Data Technologies, 21.9.2000