Library: | tware |
See also: | twrandomsample twpvalue twclt twpearson tw1d twlinreg |
Quantlet: | twnormalize | |
Description: | teachware quantlet twnormalize shows the distribution of binomials B(n1, p), B(n2, p) and B(n3, p) with increasing n1, n2, n3. One may shift the distribution by the mean value and divide by the standard deviation in order to study the normalizing effect. In addition a normal density may be graphically overlaid. |
Usage: | twnormalize({nin}) | |
Input: | ||
nin | default values for input parameters |
; load teachware library library("tware") ; default value p=0.6 n=10,20,40 n=0.7|10|20|40 ; call normalize example twnormalize(n)
a graphical display with six window ports. The three left windows contain the original B(n, p) distribution the three right windows contain the rescaled and normalized distributions