Professional Documents
Culture Documents
FYP Presentation
FYP Presentation
CIIT/FA17-BSM-022/ISB
Supervised by
Dr. Mansoor Shaukat Khan
Outline
Background
•
Binomial Probability Distribution
• Definition
Measure of peakedness
Skewness Kurtosis
usage
q r
b b
i i
n n
o o
m m
• dbinom
• Pbinom
• calculates the c. d. f. of the binomial distribution.
• Pbinom(q,size,prob,lower.tail) is the cumulative
probability(lower tail=true for left tail, lower tail= false for
right tail) of less than or equal to q successes.
• Rbinom
simulates a series of Bernoulli trials and returns the results.
The expected syntax is
rbinom(#observations,#trials,#probability of success)
• Qbinom
Return the value of the inverse cumulative density function
(cdf) of the binomial distribution.
The syntax for using qbinom is as follows:
qbinom (q, size, prob)
So what are all those will be useful for?
• Let’s use some real life data to apply our knowledge so far.
• It contains data about Horror Movies released since 2012. And
what I asked was whether horror movies are more likely be
released at the 13th each month?
• Is this significant?
If p 0
If n ∞