A new diagnostic test for a bacterial infection has a succes…

A new diagnostic test for a bacterial infection has a success rate of 80%. The test is performed 6 times on samples from a patient. 1. Write the binomial expression and expand it  using Pascal’s Triangle.  2. Define each variable and clearly assign the probabilities.  3. Using the expansion, calculate the following probabilities: Detecting the bacteria 3 or more times: P(X>=3) Detecting the bacteria in all 6 tests: P(X=6) Failing to detect the bacteria in any of the tests: P(X=0) Note: Do not use R statements here. All steps are required 

A new test to detect the SARS-CoV2 virus is developed. The r…

A new test to detect the SARS-CoV2 virus is developed. The reliability of the test is specified as follows. Of the people having COVID, 90% of the test detects virus, but 10% go undetected. of the people not having COVID, 99% of the test are correctly judges as negative, but 1% are diagnosed as COVID positive.  From a large population of which only 0.1% actually have COVID, one person is selected at random and given the new test and the pathologist reports him as COVID positive.  (Do Not use any R statements here; no credit will be given for simply writing the numbers and calculating the final answer) (a) Define each event and clearly assign probabilities for the problem. (b) Using conditional probability, derive Bayes’ theorem to calculate the probability. (c) Calculate the probability that the person actually has SARS-CoV2, given that they tested positive.