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: tware
See also: twrandomsample twclt twnormalize twpearson twlinreg tw1d

Quantlet: twpvalue
Description: teachware quantlet twpvalue computes the p-value of a B(n, p) distribution

Usage: twpvalue({nin})
Input:
nin vector (3 x 1) with n, p and observed counts

Example:
; load teachware library
library("tware")
; predefine counts for n, p and observed counts
n=6|0.5|5
; call p value teachware quantlet
twpvalue(n)

Result:
a graphical display with the barchart in the upper port
and text in the lower port.



Author: S. Klinke, W. Haerdle, 19981230 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006