zoukankan      html  css  js  c++  java
  • prior knowledge

    https://en.wikipedia.org/wiki/Bayes'_theorem

    For example, if cancer is related to age, then, using Bayes’ theorem, a person’s age (prior knowledge) can be used to more accurately assess the probability that they have cancer, compared to the assessment of the probability of cancer made without prior knowledge of the person's age.

    Bayes' theorem is stated mathematically as the following equation:[2]

     {\displaystyle P(A\mid B)={\frac {P(B\mid A)\,P(A)}{P(B)}},}

    where A and B are events and P(B) ≠ 0.

    • P(A) and P(B) are the probabilities of observing A and B without regard to each other.
    • P(A | B), a conditional probability, is the probability of observing event A given thatB is true.
    • P(B | A) is the probability of observing event B given that A is true.

    Cancer at age 65

    Let us assume that cancer and age are related.

    the “base rate” or prior (i.e. before being informed about the particular case at hand) probability

        1%    an individual’s probability of having cancer

        0.2%  the probability of being 65 years old

    the “current probability”, where “current” refers to the theorized situation upon finding out information about the particular case at hand

        0.5% a person has cancer when they are 65 years old

    calculate the probability of having cancer as a 65-year-old

    {\displaystyle (0.005\times 0.01)\div 0.002=2.5\%}

  • 相关阅读:
    bash变量作用域问题
    grep sed awk find用法
    vim compare 比对
    python的位数问题
    mysql使用
    lua 学习
    iptables的使用
    地铁换乘
    NOJ 1063 生活的烦恼
    猴子的下落
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6113101.html
Copyright © 2011-2022 走看看