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 twpvalue twnormalize twpearson tw1d twlinreg

Quantlet: twclt
Description: teachware quantlet twclt shows a discrete four point distribution and simulates repeated sampling from this apparently non normal distribution. The variation of the observed mean values around the true mean value (standardized by scale) is shown in a plot. The user may interactively change the number of samples and thereby study the effect of the central limit theorem (CLT).

Reference(s):

Usage: twclt({p})
Input:
p vector (4 x 1) with user defined probablities

Example:
; load teachware library
library("tware")
; predefine probs for the numbers 1,2,3,4
p=0.25|0.25|0.25|0.25
; call twclt teachware quantlet
twclt(p)

Result:
a two window port display with the discrete four point
distribution in the lower port and the distribution of the
mean values in the upper port.



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