# 10 random variables of a fractional binomial distribution II.
rfrbinom2(n=10, size=50, h=.8, c=.2)
# The probability that the fractional binomial random variable II equals 22.
dfrbinom2(x=22, size=50, h=.8, c=.2)
# The probability that the fractional binomial random variable II is less than or equal to 22.
pfrbinom2(x=22, size=50, h=.8, c=.2)
# The 80th percentile of the fractional binomial distribution.
qfrbinom2(p=.8, size=50, h=.8, c=.2)
Run the code above in your browser using DataLab