Question: Need matlab code as the answer Part C (10 points): Binomial probability 1. Calculate the probability of rolling a four sided die five times and

 Need matlab code as the answer Part C (10 points): Binomial

Need matlab code as the answer

Part C (10 points): Binomial probability 1. Calculate the probability of rolling a four sided die five times and rolling three "1" s. Use binopdf. Then calculate the probability using the formula bigp. Include your probability results in the comments. Compare your results. bigpfactorial (nnn)/factorial (xxx)/factorial(nnn-xxx) 2. Using the function nchoosek to estimate the binomial coefficient for rolling a four sided die five times and rolling three "1" s. Then compare the result with the explicit formula for the binomial coefficient. What does the binomial coefficient represent? bin-coeffe factorial (nnn) /factorial (xxx) /factorial (nnn-xxx) 3. Calculate the probability of rolling a four sided die five times and obtaining a role of "1" three times in a row. (Hint: consider the unique ways that the 5 rolls can lead to three "1s" in a row and how this number compares to the bin_coeff.) Is this the same as the probabilities in question 1? Part C (10 points): Binomial probability 1. Calculate the probability of rolling a four sided die five times and rolling three "1" s. Use binopdf. Then calculate the probability using the formula bigp. Include your probability results in the comments. Compare your results. bigpfactorial (nnn)/factorial (xxx)/factorial(nnn-xxx) 2. Using the function nchoosek to estimate the binomial coefficient for rolling a four sided die five times and rolling three "1" s. Then compare the result with the explicit formula for the binomial coefficient. What does the binomial coefficient represent? bin-coeffe factorial (nnn) /factorial (xxx) /factorial (nnn-xxx) 3. Calculate the probability of rolling a four sided die five times and obtaining a role of "1" three times in a row. (Hint: consider the unique ways that the 5 rolls can lead to three "1s" in a row and how this number compares to the bin_coeff.) Is this the same as the probabilities in question 1

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 Databases Questions!