Question: use R Negative Binomial distribution Suppose a student has 60% chance of scoring a perfect score in an exam with randomly selected questions. The student

use R

Negative Binomial distribution

Suppose a student has 60% chance of scoring a perfect score in an exam with randomly selected questions. The student has to repeatedly take the exam until they achieve three perfect scores.

a) Compute and plot the probability distribution for scoring the three perfect scores (both the PMF and CDF). The student will only go for a maximum of 10 failures before giving up. b) What is the probability that the student will have the three perfect scores with exactly 4 failures?

c) What is the probability that the student will have the three perfect scores with at most 4 failures? d) Simulate the number of failures to get the three perfect scores for 1000 students. Show the barplot of the frequencies of the failures.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!