Random variable
A measurable function from a probability space to ℝ. Its distribution assigns probabilities to values or sets of values.
REFERENCE SHEET
A distribution describes a random quantity; moments summarize selected features.
Before this Events, conditioning & Bayes, Integration & accumulation
A measurable function from a probability space to ℝ. Its distribution assigns probabilities to values or sets of values.
For discrete X, E[X]=Σₓ xP(X=x); for a density f, E[X]=∫xf(x)dx, when absolutely integrable.
Var(X)=E[(X−E[X])²]; Cov(X,Y)=E[(X−E[X])(Y−E[Y])], assuming finite second moments.
E[aX+bY]=aE[X]+bE[Y] for integrable X,Y, without requiring independence.
Var(X+Y)=Var(X)+Var(Y)+2Cov(X,Y). Independence with finite second moments implies zero covariance.
For integrable X and a random variable Y, E[E[X|Y]]=E[X].
Means describe location while variance describes squared spread; neither alone identifies a general distribution.
Average function values at random samples to estimate expectations and integrals.
01 / Compute
X²=X.
E[X]=p and E[X²]=p, hence Var(X)=p−p²=p(1−p).
02 / Explain
Use symmetry for the odd moments.
E[X]=E[X³]=0, so Cov(X,X²)=0. But Y is determined by X and is nonconstant; for example Y≤1/4 exactly when |X|≤1/2, so independence fails.
These sheets use this topic as a prerequisite.
Further reading and full-length treatments: