Math Rules and Formulas
Formulas
These are all of the important formulas for this course. All of these will be on the back page of both midterms and the final exams.
Probability
Let
- Expected value of a discrete random variable:
- Variance of a discrete random variable:
- If
is another random variable, - Correlation of two random variables:
Statistics
Let
- The estimator of the expected value of
is the sample mean: - The estimator for
is - The estimator for
is
Simple Regression
The true model:
The estimated model:
Formulas for simple regression coefficients:
The
Useful Math Rules
These rules will not be included in the formulas sheet on the exams, but you should know all of these math rules by heart.
Summation Rules
Let x and y be vectors of length n.
Summation definition:
The sum of x + y is the same as the sum of x + the sum of y:
For any constant c, the sum of c * x is the same as c times the sum of x.
In general, the sum of x times y is not equal to the sum of x times the sum of y:
Variance Rules
- The variance of a constant is zero:
- The variance of a constant times a random variable:
- The variance of a constant plus a random variable:
- The variance of the sum of two random variables:
Covariance Rules
- The covariance of a random variable with a constant is 0:
- The covariance of a random variable with itself is its variance:
- You can bring constants outside of the covariance:
- If Z is a third random variable:
rules
Let
- The probability limit of a constant is the constant:
for any function g.
Expectations
Let A and B be random variables, and let c be a constant.
In general,
Constants can pass outside of an expectation:
And continuing from 3), since
Conditional Expectations
If the conditional expectation of something is a constant, then the unconditional expectation is that same constant:
If
Why? The law of iterated expectations: