Bayes Formula Flashcards
Bayes’ formula
a rational way to adjust viewpoints based on new information
based on the total probability rule
Bayes’ formula formula
P(Event|Information) = P(Information|Event) / P(Information) * P(Event)
Prior probabilities
represent the probabilities before the arrival of any new information
The posterior probability
reflects the new information
The multiplication rule of counting
states k tasks can be done (n1)(n2)(n3)… (nk) ways.
In this notation, the first task has n1ways of being done
labeling
The number of ways n objects can be labeled with k different labels, with n1 of the first type, n2 of the second type, and so on
multinomial formula
used to calculate the number of ways n objects can be labeled with k different labels, with n1 of the first type, n2 of the second type, and so on
n! / ((n1!) * (n2!) … (nk!))
the combination formula
if K = 2
used if order does not matter
the number of ways r objects can be chosen from n objects is calculated using the combination formula:
nCr = (n – r) = n! / ((n - r)! * r!)
If order does matter for a labeling problem for which k = 2, then the number of ways r objects can be chosen from n objects is calculated using the permutation formula:
nPr = n! / (n - r)!