Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Posterior probability
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Calculation == The posterior probability distribution of one [[random variable]] given the value of another can be calculated with [[Bayes' theorem]] by multiplying the [[prior probability distribution]] by the [[likelihood function]], and then dividing by the [[normalizing constant]], as follows: :<math>f_{X\mid Y=y}(x)={f_X(x) \mathcal L_{X\mid Y=y}(x) \over {\int_{-\infty}^\infty f_X(u) \mathcal L_{X\mid Y=y}(u)\,du}}</math> gives the posterior [[probability density function]] for a random variable <math>X</math> given the data <math>Y=y</math>, where * <math>f_X(x)</math> is the prior density of <math>X</math>, * <math>\mathcal L_{X\mid Y=y}(x) = f_{Y\mid X=x}(y)</math> is the likelihood function as a function of <math>x</math>, * <math>\int_{-\infty}^\infty f_X(u) \mathcal L_{X\mid Y=y}(u)\,du</math> is the normalizing constant, and * <math>f_{X\mid Y=y}(x)</math> is the posterior density of <math>X</math> given the data <math>Y=y</math>.<ref>{{Cite web |title=Posterior probability - formulasearchengine |url=https://formulasearchengine.com/wiki/Posterior_probability |access-date=2022-08-19 |website=formulasearchengine.com}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)