This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: no chocolate donuts left over? By hand: ConFrm your answer with R: dbinom(x=12,size=25,prob=.4) 1 Statistics 3011, Course Notes Supplement 4 October 11, 2010 The pbinom function The pbinom function computes the lower tail probability of the binomial distribution. In other words, if X ∼ Bin ( n,p ), then pbinom(q=k, size=n, prob=p) (substitute numbers in for k, n and p) gives P ( X ≤ k ). Note that P ( X ≤ k ) n = P ( X < k ), because X is discrete. Example (continued) c) If Steve brings a dozen chocolate donuts to the meeting, what is the probability that at least one executive who wants a chocolate donut does not get one? By hand: Solve the problem with R: 1  pbinom(q=12,size=25,prob=.4) d) If Steve brings a dozen chocolate donuts to the meeting, what is the probability that there will be at least 3 chocolate donuts left over? By hand: Solve the problem with R: 2...
View
Full Document
 Spring '11
 Statistics, Binomial, Probability, Probability theory, Steve, Cumulative distribution function, Discrete probability distribution, Bernoulli Distribution, dozen chocolate donuts

Click to edit the document details