(Binomial distribution )
Assuming that Zhen Huan successfully enter the palace need to participate in 14 exams, including six arts and eight elegant forms.
Each exam is independent of each other, which means the performance of each exam have no effects on others, and the probability of passing each test is 0.5, Zhen Huan need to pass any of the 7 exams to successfully enter the palace.
Question 1:
What is the probability of Zhen Huan's eventual success in entering the palace?
Question 2:
Can you draw the probability distribution of Zhen Huan eventual success in entering the palace?
Binomial distribution
A Binomial distribution is related to a random experiment with the following features:
Fixed finite number of identical trials, say 𝑛 < ∞ .
Trials are independent.
Trials result in two possible outcomes denoted by success and failure.
The probability of success 𝑝 is constant across trials.
Here are some typical examples for Binomial distribution:
If X is the discrete random variable of the number of successes in n trials, then we can use a Binomial distribution to characterize its random behavior.
Instructions
In the Shiny app, you can first select the distribution chart:
Binomial distribution
PMF comparison of Poisson Distribution and Binomial distribution
In the first chart, you can input the number of trials (n) and probability of success (p) to change the shape of the Binomial distribution.
Then choose the interval, including Lower tail P(X ≤ x), Upper tail P(X > x) , and Interval P(a ≤ X ≤ b).
There are 2 plots in the Shiny app:
1. The histogram of Binomial distribution.
2. Red parts represent selected intervals, the rest is in blue.
In the second chart, you can change the number of trials (n), probability of success (p) and rate (λ) to adjust the shape of the Binomial distribution and Poisson Distribution by sliding the slider.
There are 2 plots in the Shiny app:
1. Trends in the distributions of the Binomial and Poisson distributions.
2. Red line represents Binomial distribution; Poisson Distribution is in blue.
The following is the link to the Shiny app. Use it complete Question 1 below:
Question 1
What is the probability of Zhen Huan's eventual success in entering the palace?
(Use shiny app)