2310 exam 3 textbook

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

1/139

encourage image

There's no tags or description

Looks like no tags are added yet.

140 Terms

1
New cards

difference between experiments/quasi experiments vs other topics we learned

not a difference in tools used but the type of data analyzed and the special opportunities and challenges posed when analyzing experiments and quasi-experiments

2
New cards

potential outcome

the outcome for an individual under a potential treatment

3
New cards

causal effect

potential outcome if treatment received - potential outcome if not

can differ between individuals, not really observed

4
New cards

if we can’t observe individual causal effect

we can measure the average causal/treatment effect

5
New cards

average causal effect occurs with

  1. potential outcomes

  2. random selection from population

  3. random experimental assignment of treatment to selected individuals


6
New cards

average causal effect math


7
New cards

differences estimator

difference in the sample averages for the treatment and control groups


8
New cards

in differences estimator X is

a binary treatment indicator

9
New cards

differences estimator with additional regressors


10
New cards

include W if

it explains any variation in Y

it will reduce standard error of regression and beta estimator

11
New cards

control variables must satisfy

conditional mean independence

12
New cards

conditional mean independence


13
New cards

conditional mean independence satisfied when

  • works if W is pretreatment individual characteristic

  • will result in Xi being independent of Wi and ui


14
New cards

randomization based on covariates

Randomization in which the probability of assignment to the treatment group depends on one or more observable variables W

  • randomization based on covariates suffers from omitted variable bias


15
New cards

randomization based on covariates example


16
New cards

eliminating randomization based on covariate bias

use difference estimator with additional control variable W

implies conditional mean independence

17
New cards

randomization based on covariates: if treatment effect is different for both groups

include an interaction term

e.g. if treatment effect is different for econ majors vs nonmajors

18
New cards

threats to internal validity

failure to randomize

failure to follow treatment protocol

attrition

experimental effects

small sample sizes

19
New cards

failure to randomize

when treatment is based on subject characteristics/preferences

Participants in a job training program experiment are assigned to treatment group depending on whether their last name falls in the first or second half of the alphabet. Because of ethnic differences in last names, ethnicity could differ systematically between the treatment and control groups. To the extent that work experience, education, and other labor market characteristics differ by ethnicity, there could be systematic differences between the treatment and control groups in these omitted factors that affect outcomes. In general, nonrandom assignment can lead to correlation between Xi and ui in Equations (13.1) and (13.2), which in turn leads to bias in the estimator of the treatment effect.

20
New cards

test for random receipt of treatment

test for randomization

test hypothesis that coefficients of Ws are 0 on regression of X on W

regress receipt of job training on sex, race, prior education

then compute F statistic to see if W coefficients are 0

21
New cards

failure to follow treatment protocol

partial compliance or failure to completely follow treatment protocol

leads to bias in OLS estimator

22
New cards

Instrumental variables estimation of the treatment effect

fix failure to follow treatment protocol

if there’s data on treatment actually received and initial random assignment

use initial random assignment as instrument for treatment actually received

23
New cards

attrition

subjects dropping out of the study after being randomly assigned to the treatment or the control group

results in OLS bias if reason for attrition is related to treatment itself

24
New cards

experimental effects

hawthorne effect - if ppl realize they are being observed they’ll behave differently

at times can fix with double blind protocol

25
New cards

small sample size

causal effect is estimated imprecisely, lowers validity of confidence intervals and hypothesis test

26
New cards

threats to external validity

nonrepresentative sample

nonrepresentative program/policy

general equilibrium effects

27
New cards

issues with STAR program

tried to keep kids in the small, large, and regular w/ aide classes but as many as 10% of students switched classes

kindergarten was also optional so this changed class sizes significantly

28
New cards

class switching, depending on the reason, could introduce

bias into the results

if related to the experiment, such as because parents were concerned with kids’ education

29
New cards

Star equation


small class + regAide are binary variables

30
New cards

because of experiment design observations are not

iid

once a school is chosen all students participate, they share similar unobserved characteristics because they’re from the same area

error term u correlated across students at same school

does not introduce bias but creates clustered standard errors at the school level

31
New cards

Differences Estimates of Effect on Standardized Test Scores of Class Size Treatment Group

The differences estimates in Table 13.1 suggest that reducing class size has an effect on test performance, but that adding an aide to a regular-sized class has a much smaller effect, possibly 0

impossible to measure aide’s improvement on instruction

32
New cards

adding regressors can produce more

efficient estimates of the causal effects

33
New cards

Project STAR: Differences Estimates with Additional Regressors for Kindergarten

multiple regression estimates of the causal effects of the two treatment in last 3 columns are similar to differences estimates in first column

standard error of estimated class size effect lower in column 4 than 1

34
New cards

Are the estimated effects of class size reported in Tables 13.1 and 13.2 large or small in a practical sense? how do we interpret this?

  1. translate estimated changes in raw test scores into units of standard deviations of test scores

  2. compare estimated class size effect to other coefficients in table 13.2


35
New cards

translating estimated changes

distribution of test scores not the same for each grade

so divide coefficient by standard error/t stat

36
New cards

Estimated Class Size Effects in Units of Standard Deviations of the Test Score Across Students


The estimated treatment effects are larger for first grade; however, the estimated difference between the small class and the regularsized class with an aide is 0.20 for first grade, the same as for the other grades. Thus one interpretation of the first-grade results is that the students in the control group— the regular-sized class without an aide—happened to do poorly on the test that year for some unusual reason, perhaps simply random sampling variation.

37
New cards

Another way to gauge the magnitude of the estimated effect of being in a small class is to compare

he estimated treatment effects with the other coefficients in Table 13.2. In kindergarten, the estimated effect of being in a small class is 13.9 points on the test (first row of Table 13.2). Holding constant race, teacher’s years of experience, eligibility for free lunch, and the treatment group, boys score lower on the standardized test than girls by approximately 12 points, according to the estimates in column (4) of Table 13.2.

38
New cards

natural/quasi experiment

randomness is introduced by variations in individual circumstances that make it appear as if the treatment is randomly assigned

39
New cards

labor market effects of immigration

Economic theory suggests that influx of immigrants would increase labor supply and lower wage

but immigrants are attracted to cities with high labor demand + bias OLS estimator

estimate effect on wages, ideal controlled experiment would be to assign different immigrants to different markets and measure effect on wages

but poses lots of problems, instead use quasi-experiment studying cuban immigrants entering southern u.s. labor markets

40
New cards

class size on educational achievement

project star is also quasi experiment

41
New cards

cardiac catheterization

distance from a heart attack patient’s home to a cardiac catheterization hospital, relative to the distance to a hospital lacking catheterization facilities, as an instrumental variable for actual treatment by cardiac catheterization

If the location of the patient is as-if randomly assigned and has no direct effect on health outcomes other than through its effect on the probability of catheterization, then the relative distance to a catheterization hospital is a valid instrumental variable.

42
New cards

differences in differences estimator

the average change in Y for those in the treatment group minus the average change in Y for those in the control group:


43
New cards

differences in differences estimator vs differences regression

differences regression - works if treatment in quasi experiment is randomly assigned and conditional on observed variables W

differences in differences - some differences might remain between treatment and control groups even after controlling for W. Adjust by comparing outcomes pre and post treatment, thereby adjusting for differences in pretreatment values of Y in the two groups

Both estimate treatment effect

44
New cards

differences in differences estimator in regression notation

Let ∆Yi be the postexperimental value of Y for the i th individual minus the preexperimental value

45
New cards

dif in dif graph


sample average of Y for treatment group is 40 before experiment, 80 after

for control group it’s 20 then 30

mean difference of the posttreatment sample averages is 80 - 30 = 50

some of this difference arises because the treatment and control groups had different pretreatment means: The treatment group started out ahead of the control group

differences-in-differences estimator measures the gains of the treatment group relative to the control group, which in this example is 180 - 402 - 130 - 202 = 30. By focusing on the change in Y over the course of the experiment, the differences-in-differences estimator removes the influence of initial values of Y that vary between the treatment and control groups.

46
New cards

more on graph

some of this difference arises because the treatment and control groups had different pretreatment means: The treatment group started out ahead of the control group

differences-in-differences estimator measures the gains of the treatment group relative to the control group, which in this example is 180 - 402 - 130 - 202 = 30. By focusing on the change in Y over the course of the experiment, the differences-in-differences estimator removes the influence of initial values of Y that vary between the treatment and control groups.

47
New cards

differences in differences with additional regressors

Ws can be individual characteristics prior to the experiment, or they can be control variables

48
New cards

diff in diff using repeated cross sectional data

X - actual treatment of ith individual

G - binary variable indicating whether individual is in treatment group

D - binary indicator that is 0 in first period and 1 in second period

49
New cards

regression discontinuity

studies that exploit a discontinuity in the probability of receiving treatment at a threshold value

two types, sharp and fuzzy

50
New cards

sharp discontinuity

using summer school example

treatment received and X = 1 if W < w0

treatment not received and X = 0 if W > w0

the jump in Y at the threshold equals the average treatment effect for the subpopulation with W = w0, which might be a useful approximation to the average treatment effect in the larger population of interest


51
New cards

fuzzy discontinuity explanation

threshold influences receipt of the treatment but is not the sole determinant

students who miss the GPA cutoff could still attend summer school if they wanted to

X usually correlated with u

if special effect of crossing threshold operates solely by increasing probability of treatment, that is, the direct effect of crossing the threshold is captured by the linear term in W—then an instrumental variables approach is available

52
New cards

fuzzy instrument

binary instrument Z indicate crossing threshold

so Zi = 1 if Wi < w0 and Zi = 0 if Wi Ú w0). Then Zt influences receipt of treatment but is uncorrelated with ui , so it is a valid instrument for Xi

53
New cards

first difference


54
New cards

first lag

the value of Y in the previous period, Yt-1

55
New cards

we take logs because

many economic series exhibit growth that is approximately exponential, so logarithm grows approximately linearly

standard deviation is approximately proportional to its level/percentage of level of series, so standard deviation of logarithm is approximately constant

56
New cards

first difference


57
New cards

first difference of log


58
New cards

percentage change of series between t and t - 1


59
New cards

4th column equation

The factor of 400 arises from converting the decimal change to a percentage (multiplying by 100) and then converting the quarterly percentage change to an equivalent annual rate (multiplying by 4)

60
New cards

serial/autocorrelation

The correlation of a series with its own lagged values

value of Yt usually correlated with value of Yt + 1

61
New cards

stationarity

the probability distribution of the time series variable does not change over time

Under the assumption of stationarity, regression models estimated using past data can be used to forecast future values

62
New cards

nonstationary

time series where probability distribution changes over time

one reason could be that unconditional mean has a trend, such as how US GDP has consistent upward trend reflecting long-term economic growth

63
New cards

one step ahead forecast

forecast for next time period, forecast Yt + 1 through Yt

64
New cards

multi-step ahead forecast

forecast for several periods ahead, think gdp growth for the next 8 quarters

65
New cards

forecast error


66
New cards

mean squared forecast error

expected value of the square of the forecast error

67
New cards

forecast error vs MSFE

forecast error is distance between forecast and estimate

MSFE tries to minimize error and make forecast more precise

68
New cards

root mean squared forecast error

square root of MSFE

same units as Y

If the forecast is unbiased, forecast errors have mean zero and the RMSFE is the standard deviation of the out-of-sample forecast made using a given model

69
New cards

MSFE incorporates 2 sources of randomness

  1. randomness of future value Yt+1

  2. randomness arising from estimating forecasting model


70
New cards

autoregression

expresses the conditional mean of a time series variable Yt as a linear function of its own lagged values

71
New cards

first order autoregression

uses only one lag of Y in this conditional expectation

72
New cards

some notes on estimating B0 and B1

OLS still possible because Yt-1 is a lag rather than having a Y on each side

73
New cards

Forecast on AR1 model


74
New cards

forecast error AR1 Model


75
New cards

pth order autoregressive model

uses p lags instead of just 1


76
New cards

properties of forecast and error term in ARp model


77
New cards


  1. best forecast of Yt+1 based on its history depends on only most recent p past values. YT + 1|T is smallest MSFE of any forecast

  2. errors ut serially uncorrelated


78
New cards

autoregressive distributed lag model


79
New cards

naming autoregressive distributed lag model

autoregressive because lagged values of the dependent variable are included as regressors

distributed lag because the regression also includes multiple lags (a “distributed lag”) of an additional predictor

80
New cards

example of ADL

GDP - using past growth rates of GDP and term spread because past term spread data contains information about GDP

81
New cards

ADL - The assumption that the errors in the ADL model have a conditional mean of 0


82
New cards

least squares assumptions for forecasting with multiple predictors are the…

series counterparts of the four least squares assumptions for prediction with multiple regression using crosssectional data

83
New cards

general time series regression model

allows for k additional predictors, where q1 lags of the first predictor are included, q2 lags of the second predictor are included, and so forth:


84
New cards

The Least Squares Assumptions for Forecasting with Time Series Data/general regression


85
New cards

The assumption of stationarity implies that

the conditional mean for the data used to estimate the model is also the conditional mean for the out-of-sample observation of interest.

So the assumption of stationarity is also about external validity, and it plays the role of the first least squares assumption for prediction

86
New cards

use an estimate of the MSFE to

ummarize forecast uncertainty and to construct forecast intervals

87
New cards

MSFE is an

expectation. since it’s value isn’t known we can calculate an estimate

88
New cards

MSFE estimate

under assumption of stationarity

1st term is variance of YT + 1 around conditional mean

second term is there bc coefficients of autoregression are unknown and must be estimated

89
New cards

methods of estimating MSFE

by the standard error of the regression

by final prediction error

by pseudo out of sample forecasting

90
New cards

estimate MSFE by the standard error of the regression

if number of observations T is large relative to autoregressive lags p

91
New cards

estimate MSFE by the final prediction error

if T is not large compared to p

assumes errors are homoskedastic

92
New cards

more on estimate MSFE by the final prediction error


93
New cards

Estimating the MSFE by pseudo out-of-sample forecasting

This method divides data into initial estimation and reserved samples.

Initial estimation sample estimates forecasting model, which forecasts first observation in reserved sample

then estimation sample is augmented by first reserve sample and model is reestimated to calculate rest of reserves

P forecasts and errors are made and then used to estimate the MSFE.

94
New cards

Pseudo Out-of-Sample Forecasts


95
New cards

MSFE pseudo out of sample


96
New cards

pseudo out of sample choice of P entails a trade off between

precision of the coefficient estimates and the number of observations available for estimating the MSFE

  • choosing 10-20% of sample is usually happy medium


97
New cards

we can use root mean squared forecast error to

display uncertainty and create forecast intervals

98
New cards

forecast interval

an interval that contains the future value of the variable being forecasted in 95% of repeated applications

not justified by central limit theorem and includes future value of error ut+1 unlike normal confidence interval

99
New cards

choosing p number of lags

choosing order p of autoregression presents tradeoff

marginal benefit of including more lags

marginal cost of additional estimation error

100
New cards

ways to determine order

F stat

BIC

AIC