Docsity

Probabilities basics, Study notes of Economics

Toggle sidebar
bg1
ECON 502: Comprehensive Econometrics Exam Cheat Sheet
MODULE 1: Foundations, Causality & Data Basics
1. Correlation vs. Causality & Randomized Controlled Trials (RCTs)
●Simple Definition: Correlation means two variables move together8.
Causality means changing variable $X$ directly causes a change in
variable $Y$8.
o
Analogy
: Countries with high chocolate consumption win more
Nobel Prizes9. They move together (correlation), but forcing
people to eat chocolate will not create Nobel laureates (no
causality)9.
●Formula & Breakdown: $$\text{Individual Treatment Effect} = Y_i(1)
- Y_i(0)$$
o$Y_i(1)$: Outcome for unit $i$ if exposed to treatment (e.g.,
student exam score with a laptop)1011.
o$Y_i(0)$: Outcome for unit $i$ without treatment (the
counterfactual state)12.
o$\text{Observed Difference} = \text{True Causal Effect} + \
text{Selection Bias}$1113.
●Key Properties & Conditions:
oCounterfactual Problem: We can never observe both $Y_i(1)$
and $Y_i(0)$ for the exact same person at the same time12.
oRCT Solution: Randomly assigning treatment ($D_i \in \{0,1\}$)
eliminates selection bias because the treatment and control
groups have identical average baseline characteristics1415.
●How it Looks on a Graph:
o
Bar Chart
: Comparing average outcomes ($\bar{Y}_T$ vs. $\
bar{Y}_C$) between Treatment and Control groups after explicit
randomization1116.
●Mini Numerical Example:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Probabilities basics and more Study notes Economics in PDF only on Docsity!

ECON 502: Comprehensive Econometrics Exam Cheat Sheet MODULE 1: Foundations, Causality & Data Basics

  1. Correlation vs. Causality & Randomized Controlled Trials (RCTs) ● Simple Definition : Correlation means two variables move together8. Causality means changing variable $X$ directly causes a change in variable $Y$8.

o Analogy: Countries with high chocolate consumption win more

Nobel Prizes9. They move together (correlation), but forcing people to eat chocolate will not create Nobel laureates (no causality)9. ● Formula & Breakdown : $$\text{Individual Treatment Effect} = Y_i(1)

  • Y_i(0)$$ o $Y_i(1)$: Outcome for unit $i$ if exposed to treatment (e.g., student exam score with a laptop)1011. o $Y_i(0)$: Outcome for unit $i$ without treatment (the counterfactual state)12. o $\text{Observed Difference} = \text{True Causal Effect} + text{Selection Bias}$1113. ● Key Properties & Conditions : o Counterfactual Problem : We can never observe both $Y_i(1)$ and $Y_i(0)$ for the exact same person at the same time12. o RCT Solution : Randomly assigning treatment ($D_i \in {0,1}$) eliminates selection bias because the treatment and control groups have identical average baseline characteristics1415. ● How it Looks on a Graph :

o Bar Chart: Comparing average outcomes ($\bar{Y}_T$ vs. $\

bar{Y}_C$) between Treatment and Control groups after explicit randomization1116. ● Mini Numerical Example :

o West Point laptop study: Treatment group mean test score $ bar{Y}_T = 78.2$, Control group mean test score $\bar{Y}_C = 80.0$1116. o $\text{Causal Effect} = \bar{Y}_T - \bar{Y}_C = 78.2 - 80.0 = - 1.8$ points (using laptops reduced test scores by $0.20$ standard deviations)1116.

  1. Data Types & Unit of Observation ● Simple Definition : o Data Types : Categorizes the numerical form of a variable (continuous, discrete, binary)17unfold_less1819. o Unit of Observation : Defines what a single row (observation) in a dataset represents20more_horiz.

o Analogy: The unit of observation is the label on an index card —

one card per student, one card per firm, or one card per firm in a specific year2223. ● Formula & Breakdown : o $N$: Total number of rows/units in the dataset22. o Continuous data: Can take any real value in a range (e.g., height in cm, income in $)1925. o Discrete data: Distinct countable integers (e.g., happiness scale 1 to 10)1718. o Binary (Dummy) variable ($D \in {0,1}$): Takes value $1$ if condition is met, $0$ otherwise1926. ● Key Properties : o For a binary indicator variable $D$, the sample mean $\bar{D} = \frac{1}{N}\sum_{i=1}^N D_i$ gives the proportion of 1s in the sample2728. ● How it Looks on a Graph : o Continuous data $\to$ Smoothed Kernel Density curve2930.

o A class has $11$ students42. Assign each student a computer- generated random number between $0$ and $1$ and sort43more_horiz. o Pick the top $5$ students46. Every student had an identical $5/11 = 45.45%$ chance of selection47. MODULE 2: Probability Distributions & Expectation Algebra

  1. Probability Distribution Function (PDF) vs. Cumulative Distribution Function (CDF) ● Simple Definition :

o PDF ( $f(x)$ ) : Shows the probability of getting an exact specific

value $x$4849. o CDF ( $F(x)$ ) : Shows the cumulative probability of getting a

value less than or equal to $x$ ($P(X \le x)$)48more_horiz.

o Analogy: PDF is your speed at an exact second; CDF is your total

odometer mileage accumulated up to that second. ● Formula & Breakdown : o Discrete PDF: $f(x) = P(X = x)$, where $\sum f(x) = 1$4852. o Discrete CDF: $F(x) = P(X \le x) = \sum_{k \le x} P(X = k)$5053. o Continuous CDF: $F(x) = \int_{-\infty}^x f(t) dt$, where $ lim_{x \to \infty} F(x) = 1.0$54. ● Key Properties : o $0 \le F(x) \le 1$ everywhere5255. o $F(x)$ is monotonic non-decreasing (never goes down)5153. o For continuous distributions, the probability at any exact single point is zero ($P(X = x) = 0$)5056. ● How it Looks on a Graph : o PDF : Symmetric bell-curve or individual vertical histogram bars3157.

o CDF : Step-function (discrete) or smooth S-shaped curve (continuous) rising from $0$ to $1$53more_horiz. ● Mini Numerical Example : o Rolling a fair 6-sided die53: ▪ PDF at $x=3$: $P(X = 3) = \frac{1}{6}$49. ▪ CDF at $x=3.5$: $F(3.5) = P(X \le 3.5) = P(X=1)+P(X=2)+P(X=3) = \frac{1}{6}+\frac{1}{6}+ frac{1}{6} = \mathbf{0.50}$5053.

  1. Expected Value ($E[X]$) & Its Algebra Properties ● Simple Definition : The long-run weighted average value of a random variable across infinite repeated draws5960.

o Analogy: The long-run average payout per game if you play a

slot machine 10,000 times59. ● Formula & Breakdown : $$E[X] = \mu_X = \sum_{i=1}^N x_i \cdot P(X = x_i)$$ o $x_i$: Possible outcome value59. o $P(X = x_i)$: Probability of outcome $x_i$5960. o Algebra Properties ($k$ is a constant, $X, Y$ are random variables):

  1. $E[k] = k$61.
  2. $E[kX] = k E[X]$62.
  3. $E[X + k] = E[X] + k$6163.
  4. $E[X + Y] = E[X] + E[Y]$ (Linearly separable!)6465. ● Key Properties : o Linearity of expectation ($E[X+Y] = E[X] + E[Y]$) holds always , even if $X$ and $Y$ are correlated6465. ● How it Looks on a Graph :

o Variance can never be negative ($Var(X) \ge 0$)78. o Squaring differences heavily penalizes extreme outliers66. ● How it Looks on a Graph : o A tall, narrow bell curve has low variance; a wide, flat curve has high variance7980. ● Mini Numerical Example : o Die roll sample $X \in {3, 3, 3, 4, 4, 4}$, mean $\mu_X = 3.5$8182. o $E[X^2] = \frac{3^2 + 3^2 + 3^2 + 4^2 + 4^2 + 4^2}{6} = frac{75}{6} = 12.5$83. o $Var(X) = E[X^2] - \mu_X^2 = 12.5 - (3.5)^2 = 12.5 - 12.25 = mathbf{0.25}$83.

  1. Covariance ($Cov(X,Y)$) & Correlation Coefficient ($\rho_{X,Y}$) ● Simple Definition : o Covariance : Measures whether $X$ and $Y$ move in the same direction ($>0$) or opposite directions ($<0$) relative to their means68more_horiz. o Correlation : Scaled version of covariance that is unitless and bounded between $-1$ and $+1$71more_horiz.

o Analogy: Height and weight have positive covariance (taller

people tend to weigh more)89. Correlation measures how strong

that linear connection is regardless of measuring units7191. ● Formula & Breakdown : o Covariance: $$Cov(X,Y) = \sigma_{XY} = E[(X - \mu_X)(Y - mu_Y)] = E[XY] - \mu_X \mu_Y$$ ▪ Units: $(\text{Unit of } X) \times (\text{Unit of } Y)$ (e.g., $\text{cm} \times \text{kg}$)89more_horiz. o Correlation: $$\rho_{X,Y} = \frac{Cov(X,Y)}{\sigma_X \sigma_Y} $$

▪ Units: None (dimensionless), $-1 \le \rho_{X,Y} \le +1$7191. ● Key Properties : o If $X, Y$ are independent $\implies Cov(X,Y) = 0$4091. o $Cov(X,Y) = 0$ does not guarantee independence (only implies

no linear relationship)91.

● How it Looks on a Graph : o 2D Scatter plot centered at $(\mu_X, \mu_Y)$86more_horiz. Points in Top-Right & Bottom-Left quadrants yield positive covariance88. ● Mini Numerical Example : o Stock returns $X$ & $Y$: $E[X]=10, \sigma_X=7$, $E[Y]=9, sigma_Y=6$, $\rho_{X,Y}=0.9$ [ps2_502.pdf]. o $Cov(X,Y) = \rho_{X,Y} \cdot \sigma_X \cdot \sigma_Y = 0.9 times 7 \times 6 = \mathbf{37.8}$ [ps2_502.pdf]. o $Var(X+Y) = Var(X) + Var(Y) + 2 Cov(X,Y) = 7^2 + 6^2 + 2(37.8) = 49 + 36 + 75.6 = \mathbf{160.6}$ [ps2_502.pdf].

  1. Joint Distributions & Conditional Probabilities / Expectations ● Simple Definition : o Joint PDF $P(X=x, Y=y)$: Probability $X$ and $Y$ take specific values simultaneously94more_horiz. o Conditional Probability $P(A|B)$: Probability of event $A$ occurring given event $B$ has already happened9798. o Conditional Expectation $E[Y|X=x]$: The expected value of $Y$ restricted to the subgroup where $X=x$99more_horiz.

o Analogy: What is the average wage ($Y$) only among college

graduates ($X=1$)?

● Formula & Breakdown :

o Standardization ( $Z$ -Score) : Converts any normal random variable $Y$ into standard deviation units so we can look up probabilities in $Z$-tables114more_horiz. ● Formula & Breakdown : $$Z = \frac{Y - \mu_Y}{\sigma_Y}$$ o $Y$: Raw observation115. o $\mu_Y$: Population mean115116. o $\sigma_Y$: Population standard deviation ($\sqrt{Var(Y)} $)115116. o $Z$: Distance of $Y$ from $\mu_Y$ in units of standard deviation114. ● Key Properties : o Symmetry : $P(Z < -z) = P(Z > z) = 1 - \Phi(z)$117118. o Empirical Rule : ▪ $\pm 1.645 \sigma$ contains $90%$ of probability ($ alpha=0.10$)119. ▪ $\pm 1.96 \sigma$ contains $95%$ of probability ($ alpha=0.05$)120121. ▪ $\pm 2.575 \sigma$ contains $99%$ of probability ($ alpha=0.01$)122. ● How it Looks on a Graph : o Symmetric bell curve centered at $0$. Total area under the curve equals $1.0$5480. ● Mini Numerical Example : o Test scores $Y \sim N(50, 64) \implies \mu=50, \sigma= sqrt{64}=8$ [quiz1.docx]. o Find probability an applicant scores higher than $58$ ($P(Y > 58)$) [quiz1.docx]: $$Z = \frac{58 - 50}{8} = 1.0$$ From Z- table, $\Phi(1.0) = 0.8413 \implies P(Z > 1.0) = 1 - 0.8413 = mathbf{0.1587 \text{ or } 15.87%}$ [quiz1.docx].

  1. Sampling Distribution of the Sample Mean ($\bar{Y}$) ● Simple Definition : o The theoretical probability distribution of all possible sample means ($\bar{Y}$) calculated from repeated random samples of size $n$ drawn from a population123more_horiz.

o Analogy: Repeatedly pulling random groups of 5 students from

class to estimate average height; plotting each group's average height creates a tight sampling distribution around the true class height129more_horiz. ● Formula & Breakdown : o Sample Mean Estimator: $$\bar{Y} = \frac{1}{n} sum_{i=1}^n Y_i$$ 136 o Expected Value: $$E[\bar{Y}] = \mu_Y \quad (\text{Sample mean is unbiased})$$ 137more_horiz o Variance: $$Var(\bar{Y}) = \frac{\sigma_Y^2}{n}$$ 141more_horiz o Standard Error ($SE(\bar{Y})$): $$SE(\bar{Y}) = \frac{\sigma_Y} {\sqrt{n}}$$ 144145 ● Key Properties : o As sample size $n$ grows, the Standard Error $SE(\bar{Y}) = frac{\sigma_Y}{\sqrt{n}}$ shrinks $\implies$ $\bar{Y}$ becomes concentrated closer to the true mean $ mu_Y$146more_horiz. ● How it Looks on a Graph : o As $n$ increases, the curve of $\bar{Y}$ narrows dramatically around $\mu_Y$ compared to the wider distribution of individual observations $Y_i$127more_horiz. ● Mini Numerical Example : o Student heights: $\mu = 169.27$ cm, $\sigma = 10$ cm5149. o For a sample of $n = 25$ students150151: $$SE(\bar{Y}) = frac{10}{\sqrt{25}} = \frac{10}{5} = \mathbf{2.0\text{ cm}}

o Individual applicant $P(Y > 58)$: $Z = \frac{58-50}{8} = 1.0 implies P = 15.87%$ [quiz1.docx]. o Average of $n=9$ applicants $P(\bar{Y} > 58)$ [quiz1.docx]: $ $SE(\bar{Y}) = \frac{8}{\sqrt{9}} = \frac{8}{3} = 2.67$$ $$Z = \frac{58 - 50}{2.67} = 3.0 \implies P(Z > 3.0) = 1 - 0.9987 = mathbf{0.0013 \text{ or } 0.13%}$$ o Probability drops from 15.87% to 0.13% because taking an average of 9 people filters out extreme individual variation! [quiz1.docx] MODULE 4: Evaluating Estimators

  1. Properties of Estimators (Unbiasedness, Efficiency, MSE) ● Simple Definition : o Estimator ( $W$ ) : A rule/formula used to estimate an unknown population parameter $\theta$158more_horiz. o Unbiasedness : An estimator is unbiased if its expected value equals the true population parameter ($E[W] = \theta$)161162. o Efficiency : Among unbiased estimators, the efficient estimator

has the smallest variance163164.

o Mean Squared Error (MSE) : Total estimation error combining both variance and squared bias165166.

o Analogy (Archery): Unbiased = arrow hits are centered on the

bullseye on average. Efficient = arrows are tightly clustered together. MSE = overall distance of arrows from bullseye167168. ● Formula & Breakdown : o $\text{Bias}(W) = E[W] - \theta$169170. o Asymptotic Unbiasedness: $\lim_{n \to \infty} \text{Bias}(W) = 0$152170. o Mean Squared Error: $$MSE(W) = E[(W - \theta)^2] = Var(W) + [\text{Bias}(W)]^2$$ 166170 ● Key Properties :

o Bias-Variance Tradeoff : Sometimes accepting a small bias is worth it if it yields a massive reduction in variance166171. o Gauss-Markov / Sample Mean Optimality : The sample mean $\bar{Y}$ is unbiased and has the minimum variance ($Var( bar{Y}) = \sigma^2/n$) among linear unbiased estimators142more_horiz. ● How it Looks on a Graph : o Target diagrams illustrating 4 cases: (1) Unbiased + Low Variance (Ideal), (2) Unbiased + High Variance, (3) Biased + Low Variance, (4) Biased + High Variance167168. ● Mini Numerical Example : o Consider estimator $W_1 = \frac{n}{n-1} \bar{Y}$ for population mean $\mu$170173: $$E[W_1] = \frac{n}{n-1} E[ bar{Y}] = \frac{n}{n-1} \mu$$ $$\text{Bias}(W_1) = E[W_1] - mu = \frac{n}{n-1}\mu - \mu = \mathbf{\frac{1}{n-1} \mu \neq 0} \quad (\text{Biased for finite } n)$$170 As $n \to \infty$, $ text{Bias}(W_1) = \frac{1}{n-1}\mu \to 0 \implies W_1$ is asymptotically unbiased 170. MODULE 5: Statistical Inference & Hypothesis Testing

  1. Confidence Intervals (CI) ● Simple Definition : An interval $[L, U]$ constructed from sample data that has a specified probability (e.g., 95%) of containing the true unknown population parameter $\mu$174175.

o Analogy: Throwing a net of width $2 \times \text{Margin of

Error}$ to catch an invisible fish ($\mu$). A 95% CI means 95 out of 100 nets thrown across different samples will successfully catch the fish176. ● Formula & Breakdown : $$\text{CI}{1-\alpha} = \left[ \bar{Y} - Z{\alpha/2} \cdot \frac{\sigma_Y}{\sqrt{n}}, \quad \bar{Y} + Z_{ alpha/2} \cdot \frac{\sigma_Y}{\sqrt{n}} \right]$$ 7more_horiz o Critical values ($Z_{\alpha/2}$)119more_horiz: ▪ 90% Confidence ($\alpha = 0.10$): $Z_{0.05} = 1.645$

o Alternative Hypothesis ( $H_1$ / $H_A$ ) : The claim we are trying to prove/support191194. o Type I Error ( $\alpha$ ) : Rejecting $H_0$ when $H_0$ is actually TRUE (False Positive)195more_horiz. o Type II Error ( $\beta$ ) : Failing to reject $H_0$ when $H_0$ is actually FALSE (False Negative)195more_horiz.

o Analogy (Courtroom): $H_0$ = Defendant is innocent; $H_1$ =

Defendant is guilty191more_horiz. Type I Error = Convicting an innocent person; Type II Error = Setting a guilty criminal free196more_horiz. ● Formula & Breakdown : o Significance Level ($\alpha$): $P(\text{Type I Error}) = P( text{Reject } H_0 | H_0 \text{ is true})$ (set by researcher to 0.05 or 0.10)198200. o Power of the test: $1 - \beta = P(\text{Reject } H_0 | H_0 text{ is false})$198more_horiz. ● Key Properties : o 4-Cell Decision Matrix 195more_horiz: Decision $H_0$ is True $H_0$ is False Do Not Reject $H_0$ Correct ($1- alpha$) Type II Error ($\beta$) Reject $H_0$ Type I Error ($ alpha$) Correct / Power ($1- beta$) ● How it Looks on a Graph : o Two overlapping normal curves (one centered under $H_0$, one under $H_1$). Alpha ($\alpha$) is the tail area under $H_0$ past the critical boundary. ● Mini Numerical Example : o CEO Salaries150194: $H_0: \mu = $105,000$ vs $H_1: \mu neq $105,000$ at $\alpha = 0.10$ significance level194.

  1. The Three Approaches to Hypothesis Testing ● Simple Definition : Three mathematically identical ways to conduct a hypothesis test that always lead to the exact same decision! 203more_horiz 1. Confidence Interval Approach : Construct a $(1-\alpha)$ CI. If $H_0$ value $\mu_0$ falls OUTSIDE the CI $\implies$ Reject $H_0$180. 2. Classical Test Statistic ( $Z^$ ) Approach : Calculate Z-ratio distance $Z^$. If $|Z^| > Z_{\text{critical}} \implies$ Reject $H_0$156206. 3. $p$ -Value Approach : Calculate the exact tail probability of getting a sample result as extreme as ours under $H_0$. If $p text{-value} \le \alpha \implies$ Reject $H_0$205more_horiz. ● Formula & Breakdown : o Calculated Test Statistic ($Z^$): $$Z^* = \frac{\bar{Y} - mu_0}{SE(\bar{Y})} = \frac{\bar{Y} - \mu_0}{\frac{\sigma_Y} {\sqrt{n}}}$$ 156157 o $p$-Value Calculation: ▪ Two-sided ($H_1: \mu \neq \mu_0$): $p\text{-value} = 2 times P(Z > |Z^|) = 2 \times [1 - \Phi(|Z^|)]$209210. ▪ One-sided Right ($H_1: \mu > \mu_0$): $p\text{-value} = P(Z > Z^) = 1 - \Phi(Z^)$118211. ▪ One-sided Left ($H_1: \mu < \mu_0$): $p\text{-value} = P(Z < Z^) = \Phi(Z^)$212213. ● Key Properties : o Golden Rule: "If $p$ is low ( $p \le \alpha$ ), $H_0$ must go!" 208214. ● How it Looks on a Graph : o $Z^*$ falling into the shaded tail rejection region beyond critical cutoff $\pm Z_{\alpha/2}$206more_horiz. ● Mini Numerical Example (CEO Salaries) : o $H_0: \mu = 105$, $H_1: \mu \neq 105$, $\alpha = 0.10$194.

o Variances ADD under the square root in $SE$ even when testing a difference!218more_horiz ● How it Looks on a Graph : o Sampling distribution of difference $\bar{Y}_1 - \bar{Y}_2$ centered at $0$ under $H_0$. ● Mini Numerical Example (Union vs. Non-Union Nurse Wages) : o Union nurses ($n_1 = 40, \bar{Y}_1 = 20.50, \sigma_1 = 3.0$)226227. o Non-union nurses ($n_2 = 45, \bar{Y}_2 = 18.80, \sigma_2 = 3.5$)226227. o $H_0: \mu_1 - \mu_2 = 0$ vs $H_1: \mu_1 - \mu_2 > 0$ ($\alpha = 0.05$ one-sided test)226227. o Difference $\bar{Y}_1 - \bar{Y}_2 = 20.50 - 18.80 = 1.70$227. o $SE = \sqrt{\frac{3.0^2}{40} + \frac{3.5^2}{45}} = \sqrt{ frac{9}{40} + \frac{12.25}{45}} = \sqrt{0.225 + 0.2722} = sqrt{0.4972} = \mathbf{0.705}$227. o $Z^* = \frac{1.70 - 0}{0.705} = \mathbf{2.41}$228. o $p\text{-value} = P(Z > 2.41) = 1 - 0.9920 = \mathbf{0.0080 text{ or } 0.8%}$228. o Since $0.0080 \le 0.05 \implies \mathbf{\text{Reject } H_0}$. Sample evidence strongly supports that unionized nurses earn higher average wages228.