Random Variables

A random variable X is a function that maps the sample space S to the real line;

Capital letters will usually be the random variable, and lowercase their realized value

Discrete Random Variables

wS HHH HHT HTH ...
P(w) 18 18 18 ...
X(w) 3 2 2 ...
Each value of X has a certain chance of happening
X 0 1 2 3
P(X=x) 18 38 38 18
For every x outside of the domain X, P(X=x)=0

Continuous Random Variables

stats1

a random variables is a quantitative variable whose observed value is partly due to chance
- random variable x realized value
- random variable = X, Y, Z etc (theoretical quantity)
- realized value/realization of the random variable(x)
- P(X = x)
- P(X = 5%) for example
- tossing coins, sampling randomly
- sometimes we don't know the value of the variable until the experiment, but we may know characteristics of its distribution