R presentation of Bernoulli trial

Hisato Nagano
2016/03/06

2D presentation of the distribution

n=200*200 of {0,1} random distribution of p=0.2

plot of chunk unnamed-chunk-1

Histogram of population is very simple.

hist(pop.set,col=2)

plot of chunk unnamed-chunk-2

Histogram of mean values of samples.

Random sampling (size=600, replication=3000) from the above population

plot of chunk unnamed-chunk-3

Mean value and sample aize

Mean value gose up to that of population as the sample size increases.
plot of chunk unnamed-chunk-4