Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> P(cancer | positive_mammogram) = P(positive_mammogram | cancer)

Sorry if I've got this wrong, but does this line say that we're assuming the probability of someone having cancer if they've got a positive mammogram, is the same as the probability of them having a positive mammogram if they've got cancer?

As far as I know, the first one would be the Positive Predictive Value (PPV) of the mammogram, the second one would be the Sensitivity of the mammogram.

They're related but not usually the same. The PPV would change depending on the prevalence of the disease (go up as the prevalence goes up), but the sensitivity would remain the same.



You left out most of the equation. The whole equation as posted is just an application of Bayes' rule: P(A|B) = P(B|A)P(A)/P(B). Your excerpt leaves out everything after P(B|A).


If you narrow your window enough to get the mobile (responsive) view it looks like separate lines.

HN really needs better code formatting.


Ha! That's exactly what I did sorry! I had the browser just taking up half the screen, and they split across a few lines.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: