- 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).
- Python爬蟲開發與項目實戰
- Django Design Patterns and Best Practices
- Backbone.js Blueprints
- 精通Linux(第2版)
- Learning SciPy for Numerical and Scientific Computing(Second Edition)
- Linux:Embedded Development
- NGINX Cookbook
- 小程序,巧應用:微信小程序開發實戰(第2版)
- C++20高級編程
- Django Design Patterns and Best Practices
- QlikView Unlocked
- Unity Android Game Development by Example Beginner's Guide
- ArcPy and ArcGIS(Second Edition)
- Python數據預處理技術與實踐
- Mastering Clojure