DSAI514 Lec1 Background in Prob Part1
DSAI514 Lec1 Background in Prob Part1
Background in Probability
Based on Kauermann, Göran, Helmut Küchenhoff, and Christian Heumann (2021) Statistical Foundations, Reasoning and Inference. Springer
International Publishing, 2021 and Walpole, R.E., Myers, R.H., Myers, S.L. and Ye, K. (2007) Probability & Statistics for Engineers & Scientists.
Probability
• Probability: The study of randomness and uncertainty.
1-2
Mathematical Definition of Probability
• Let A and B be two events. Assuming that P(A) > 0, the conditional
probability of B given A is
• Example: 3 products can either be defective (D) or not (N). What is the
sample space for this situation?
Random Variables
• Example: 3 products can either be defective (D) or not (N). What is the
sample space for this situation?
Examples:
• For discrete joint probability distributions, the integrals above are replaced
with sums.
3 - 14
Marginal Distributions
• Given the joint probability distribution f(x, y) of the discrete random variables X and Y ,
the probability distribution g(x) of X alone is obtained by summing f(x, y) over the values
of Y .
• In other words, for example, g (x) = P(X = x) is the sum (or integral) of f(x,y) over
all values of y.
3 - 15
Conditional Distribution
3 - 16
Conditional Distribution
3 - 17
Visualization of Density Functions
3 - 18
Source: https://stats.stackexchange.com/questions/599704/is-the-posterior-maximum-always-the-same-as-the-marginals
Statistical Independence
f(x|y) = g(x)
3 - 19