02.01.2015 Views

Chapter 5 Discrete Distributions

Chapter 5 Discrete Distributions

Chapter 5 Discrete Distributions

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.3. THE BINOMIAL DISTRIBUTION 115<br />

cumulative probability<br />

0.0 0.2 0.4 0.6 0.8 1.0<br />

−1 0 1 2 3 4<br />

number of successes<br />

Figure 5.3.1: Graph of the binom(size = 3, prob = 1/2) CDF<br />

Random variables defined via the distr package may be plotted,whichwillreturngraphs<br />

of the PMF, CDF, and quantile function (introduced in Section 6.3.1). See Figure 5.3.2 for an<br />

example.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!