Question: This is on R Studio so please, please show me the coding for the question with the answer. Thanks! Consider an employment drug testing situation
This is on R Studio so please, please show me the coding for the question with the answer. Thanks!

Consider an employment drug testing situation such that employment is only offered to a job candidate if this drug test returns a negative. Suppose the probability a job candidate actually uses illegal drugs is 0.15. The drug screening process will return a positive test with probability 0.95 if the candidate uses drugs. The drug screening process will return a positive test with probability 0.10 if the candidate does not use drugs. 2 4. ## # Problem 3: Part A 6 What is the probability a randomly drawn applicant can be hired? Document any computations you use in the codeblock provided. If you use a computation in your answer, it must be given here: lclearpage \#\#\# Problem 3: Part B What is the probability the candidate does not use drugs given the drug test comes back negative? Document any computations you use in the codeblock provided. If you use a computation in your answer, it must be given here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
