Skip to content

Commit 0f271c2

Browse files
itsguneetsinghOriolAbril
authored andcommitted
Made changes to formula for Bayes theorem
1 parent 84939ca commit 0f271c2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/source/glossary.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,11 @@ Hierarchical Ordinary Differential Equation
104104

105105
[Bayes' theorem](https://en.wikipedia.org/wiki/Bayes%27_theorem)
106106
Describes the probability of an event, based on prior knowledge of conditions that might be related to the event. For example, if the risk of developing health problems is known to increase with age, Bayes' theorem allows the risk to an individual of a known age to be assessed more accurately (by conditioning it on their age) than simply assuming that the individual is typical of the population as a whole.
107-
Formula:
108-
$$
109-
\begin{eqnarray}
110-
P(A|B) = (P(B|A) P(A))/P(B)
111-
\end{eqnarray}
112-
$$
113-
Where A and B are events and P(B) != 0
107+
> Formula:
108+
> $$
109+
> P(A|B) = \frac{P(B|A) P(A}{Pr(B)}
110+
> $$
111+
> Where A and B are events and P(B) != 0
114112
115113

116114
[Markov Chain](https://en.wikipedia.org/wiki/Markov_chain)

0 commit comments

Comments
 (0)