ECON 2310 pre-exam 1.1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/136

flashcard set

Earn XP

Description and Tags

good luck!

137 Terms

1
New cards

Economics suggests important relationships, often with policy implications, but virtually never suggests

quantitative magnitudes of causal effects

2
New cards

using data to measure causal effects - how do we get this data?

(Ideal) Randomized controlled experiment

– cost, cooperation, ethical

3
New cards

randomized controlled experiment

two groups, randomly assign which one is experimental and control, compare both to estimate the causal effect

4
New cards

examples of other sources of data

more commonly we have observational data

survey, administrative records, historical records, mortgage applications, etc.

-- cross-sectional (i), time series (t), panel data (i,t)

5
New cards

issues with observational data

“treatment” is not random

-- unobserved heterogeneity

6
New cards

prediction

use the value of some variables to make a statement of another variable

7
New cards

forecast

a prediction about the value of a variable in the future

8
New cards

A good prediction does not require

a causal relationship

• Modern machine learning methods with a large number of predictors

• Forecast with time series data

9
New cards

joint distribution

Random variables X and Z have a joint distribution

10
New cards

The covariance is a measure of the linear association between X and Z

– cov(X,Z) > 0 means a positive relation between X and Z

11
New cards

If X and Z are independently distributed, then cov(X,Z)

cov(X,Z) = 0 (but not vice versa!!)

12
New cards

linear association

knowt flashcard image
13
New cards

The correlation coefficient measures

linear association

14
New cards

conditional expectations


15
New cards

conditional variance is the

variance of the conditional distribution

16
New cards

simple random sampling

Choose an individual (district, entity) at random from the population

  • before sample selection, Y is random because individual selected is random

  • Once selected Y is observed and therefore a non-random value


17
New cards

iid

individually and independently distributed

Because individuals #1 and #2 are selected at random, the value of Y1 has no information content for Y2. Thus:

– Y1 and Y2 are independently distributed

– Y1 and Y2 come from the same distribution, that is, Y1, Y2 are identically distributed

– More generally, under simple random sampling, {Yi}, i = 1,…, n, are i.i.d.

18
New cards

iid allows

This framework allows rigorous statistical inferences about moments of population distributions using a sample of data from that population …

19
New cards

breaking down mean


20
New cards

breaking down variance


21
New cards

An estimator is consistent if

the probability that its falls within an interval of the true population value approaches 1 as the sample size increases.

22
New cards

Law of Large Numbers


23
New cards

Central Limit Theorem


24
New cards

CLT - larger n the better


25
New cards

why use sample average


26
New cards

The hypothesis testing problem: .

make a provisional decision, based on the evidence at hand, whether a null hypothesis is true, or instead that some alternative hypothesis is true

27
New cards

1 vs 2 sided


28
New cards

test statistic


29
New cards

anatomy of test statistic


30
New cards

estimation of variance


31
New cards

significance level

probability of incorrectly rejecting the null hypothesis when it is true.

– Pre-specified, e.g., 5%.

For a two-sided hypothesis testing with the t-statistic, Pr(|t|>cv) = significance level

32
New cards

critical value

value of the statistic for which the test rejects the null hypothesis at the given significance level.

33
New cards

p value

Probability of drawing a statistic at least as adverse to the null hypothesis as the value you actually computed in your sample, assuming that the null hypothesis is true.

34
New cards

calculating p value based on Y mean


35
New cards

Suppose that, in your sample of recent college graduates, the average wage is $22.64. The p value is

the probability of observing a value of 𝑌(bar) at least as different from $20 (population mean under null hypothesis) as the observed value of $22.64 by pure random sampling variation, assuming that the null hypothesis is true.

36
New cards

from wage example, if p value is small

If p-value is small (0.1%), then it is very unlikely that this sample would have been drawn if the null hypothesis is true

→ null hypothesis is not true.

37
New cards

from wage example, if p value is large

If p-value is large (40%), then it is quite likely that the observed sample average of $22.64 could have arisen just by random sampling variation if the null hypothesis is true

→ evidence against the null hypothesis is weak, and it is reasonable not to reject the null hypothesis.

38
New cards

p value graphically


39
New cards

for large n the p value is the probability that


40
New cards

math on adding estimated standard error into p value test statistic


41
New cards

final p value with estimated standard error


42
New cards

link between p value and significance level

The significance level is prespecified. For example, if the prespecified significance level is 5%, you reject the null hypothesis if |t| ≥1.96

equivalently, you reject if p ≤ 0.05

43
New cards

Often, it is better to communicate the p-value than

simply whether a test rejects or not – the p-value contains more information than the “yes/no” statement about whether the test rejects.

44
New cards

A 95% confidence interval for Y bar is

an interval that contains the true value of Y mew in 95% of repeated samples.

45
New cards

Digression: What is random in a confidence interval?

The values of Y1,…,Yn and thus any functions of them – including the confidence interval.

46
New cards

The confidence interval will differ from

one sample to the next. The population parameter, Y mew, is not random, we just don’t know it.

47
New cards

A 95% confidence interval can always be constructed as

the set of values of Y mew not rejected by a hypothesis test with a 5% significance level.


48
New cards

population linear regression model


49
New cards

anatomy of population regression model


50
New cards

B0 B1 and u


51
New cards

population regression line notation - STR


52
New cards

The population objects (“parameters”) B0 and B1 are

unknown; to draw inferences about these unknown parameters we must collect relevant data.

53
New cards

simple random sampling in regression

Choose n entities at random from the population of interest, and observe (record) X and Y for each entity

54
New cards

Simple random sampling implies that

{(Xi, Yi)}, i = 1,…, n, are independently and identically distributed (i.i.d.).

Note: (Xi, Yi) are distributed independently of (Xj, Yj) for different observations i and j.

55
New cards

How do we estimate B0 and B1 from data?


56
New cards

OLS estimator solves


57
New cards

The OLS estimator minimizes the

average squared difference between the actual values of Yi and the prediction (predicted value) based on the estimated line.

• This minimization problem can be solved using calculus

• The result is the OLS estimators of B0 and B1.

58
New cards

OLS estimator B1


59
New cards

OLS estimator B0


60
New cards

estimated predicted values of Yi


61
New cards

estimated residuals of ui.


62
New cards

estimates based on equation


63
New cards

matrix representation

We can write the data in matrix and the OLS estimator can be easily obtained with matrix calculation. This requires knowledge from matrix algebra. Computing packages also use matrix calculations.

64
New cards

What will Yi and ui be here?

predicted value - plug in test score

residual - plug in actual value to observe gap between predicted and actual

65
New cards

How do we see how a regression line fits?

R2 or standard error

66
New cards

R2

The regression R2 measures the fraction of the variance of Y that is explained by X; it is unitless and ranges between zero (no fit) and one (perfect fit)

67
New cards

standard error regression

• The standard error of the regression measures the fit – the typical size of a regression residual – in the units of Y.

68
New cards

explained sum of squares


69
New cards

total sum of squares


70
New cards

sum of squared residuals


71
New cards

two expressions of R2 are equivalent, or


72
New cards

Notes on R2


73
New cards

standard error of regression


74
New cards

notes on SER


75
New cards

root mean squared error


76
New cards

OLS is a generalization of sample average


77
New cards

how to use OLS estimates?

Prediction: use the OLS regression line directly

• Interpretation: we should examine the model more carefully before drawing a causal relationship

78
New cards

looping in slope into regressions


79
New cards

interpretation of estimated slope and intercept, test scores


80
New cards

assumptions on previous estimates/slope


81
New cards

Least Squares Assumptions for Causal Inference: the conditional distribution of ui given Xi has mean


82
New cards

assumption 1: explaining conditional expectation E[ui|Xi]


83
New cards

assumption 2 - (Xi, Yi) are

This arises automatically if the entity (individual, district) is sampled by simple random sampling.

• The main place we will encounter non-i.i.d. sampling is when data are recorded over time (time series data) – this will introduce some extra complications.

84
New cards

Assumption #3: Large outliers are

Moments describe a distribution's shape: the first is the mean, the second relates to variance, the third to skewness, and the fourth to kurtosis, or how heavy the tails are. Requiring a finite fourth moment means the tails can't be so fat that extreme observations show up too often. It's a way of saying "outliers are rare enough that they don't dominate the sample."

Why OLS needs it

The assumption isn't needed for unbiasedness. It matters for the large-sample results:

  • Consistency of the variance estimates. OLS standard errors rely on sample variances and covariances converging to their population values. The sample variance of X is an average of squared deviations, and for a law of large numbers to apply to that average, the variance of (X − μ)² must be finite. That variance involves E[(X − μ)⁴], which is the fourth moment.

  • The CLT for the slope. The asymptotic normality of β̂₁ comes from a CLT applied to terms like (Xᵢ − μₓ)uᵢ. That requires this product to have finite variance, and finite fourth moments of X and u guarantee it (via Cauchy-Schwarz). Heteroskedasticity-robust standard errors need this too.


85
New cards

least squares assumptions role 1

Role 1: mathematical. If assumptions hold, then, in large samples, OLS estimators are consistent and have sampling distributions that are normal

→ underpin methods for testing hypotheses and constructing CI

86
New cards

least squares assumptions role 2

Role 2: organize circumstances that pose difficulties for OLS estimation of causal effect 𝛽1

– Assumption #1 is most important to consider in practice

– Assumption #2 holds plausibly in cross-sectional data, the independence assumption is inappropriate for panel and time series data

– Assumption #3 reminds us that OLS can be sensitive to large outliers

87
New cards

Because OLS estimators are calculated using a random sample,

est𝛽0 and est𝛽1 are random variables that take on different values from one sample to the next.

• Probability of these different values is summarized in their sampling distributions.

88
New cards



89
New cards

Proof estimate B1 is unbiased


90
New cards

algebra of sampling distribution of estimate B1


91
New cards

expanding on B1 hat algebra


92
New cards

expanding on B1 hat algebra p2


93
New cards

simplify formula


94
New cards

building on simplified B1 hat formula


95
New cards

adding in expectation of ui over Xi


96
New cards

Now we show the large-sample normal approximation to the limiting distribution of B1 hat


97
New cards

this calculation is simplified by supposing that n is large


98
New cards

Under the three Least Squares Assumptions


99
New cards

estimator of variance of B1 hat


100
New cards

for above card