- Learning Bayesian Models with R
- Dr. Hari M. Koduvely
- 190字
- 2021-07-09 21:22:35
Marginal distribution
In many situations, we are interested only in the probability distribution of a subset of random variables. For example, in the heart disease problem mentioned in the previous section, if we want to infer the probability of people in a population having a heart disease as a function of their age only, we need to integrate out the effect of other random variables such as blood pressure and diabetes. This is called marginalization:

Or:

Note that marginal distribution is very different from conditional distribution. In conditional probability, we are finding the probability of a subset of random variables with values of other random variables fixed (conditioned) at a given value. In the case of marginal distribution, we are eliminating the effect of a subset of random variables by integrating them out (in the sense averaging their effect) from the joint distribution. For example, in the case of two-dimensional normal distribution, marginalization with respect to one variable will result in a one-dimensional normal distribution of the other variable, as follows:

The details of this integration is given as an exercise (exercise 3 in the Exercises section of this chapter).
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發(fā)經(jīng)典名著)
- Spring 5企業(yè)級開發(fā)實戰(zhàn)
- AngularJS深度剖析與最佳實踐
- Bootstrap Essentials
- Hands-On Reinforcement Learning with Python
- SQL Server從入門到精通(第3版)
- Java EE核心技術(shù)與應(yīng)用
- CoffeeScript Application Development Cookbook
- Learning PHP 7
- Fast Data Processing with Spark(Second Edition)
- Python大學(xué)實用教程
- Clojure Web Development Essentials
- Java程序設(shè)計教程
- R語言:邁向大數(shù)據(jù)之路
- Yii框架深度剖析