a) A research institute associated with the Olympics claims that its drug test will detect steroid use (that is, show a positive result for an athletic who uses steroids) 95% of the time. Your friend on Canada’s hockey team has just tested positive.
In order to determine the probability that your friend uses steroids given that he tested positive, we need two additional pieces of information. The P(athletic on the team uses steroids; the prevalence) and the P(test positive │ athletic does not use steroids; the false positive result)
After considerable effort, the research institute finally concedes that 15% of all steroid-free individuals also test positive (the false positive result) and that 10% of the hockey team members use steroids (the prevalence result).
So now with this information, determine
a) The sensitivity; P(tested positive │ athletic uses steroids)
b) The specificity; P(tested negative │ athletic does not use steroids),
c) Using Bayes Theorem, determine the probability that your friend uses steroids given that he has just tested positive for steroids; i.e., P(athletic uses steroids │ test positive).
So what I did was
Let $P$ = tested positive and $S$ = athletic uses steroids and from the question I know $P(s) = 0.1$ and $P( p|s') = 0.15$ so
For a) it is $P(p|s) = \frac{P(p,s)}{P(s)}$ I don't know how to get the numerator I was assuming $0.95 \cdot 0.1$? Would that be right?
b) $P(p' | s') = \frac{P(p',s')}{P(s')}$ and for the numerator could I use $0.05 \cdot 0.9$?
c) by using the Bayes theorem $P(s|p) = \frac{P(p|s)\cdot P(s)}{P(p)}$ and that would be using the answer from a but is $P(p) = 0.95$
please help out