Q1

Q1 A - provide an OVB

Patriachal values might incentivise female agents to care work over measured work-hours. Patriachal values might also incentivise higher fertility as a womanly trait. Thus Partiachal values would be an omitted variable (OV) that has decreases HoursWorked and increases the probability of having more than two children. That is, the OV would have a negative sign, so that our coefficient for MoreThanTwo is downward biased.

Q1 B - run the IV

We might make the very strong assumption that cultural values are fully determined by place of birth, if societies see very little migration, and societies are locally culturally homogenous. We would then control for our OVB by including the mom and dad’s place of birth in the regression. We run the following.

model_ctr <- lm_robust(HoursWorked ~ pobd + pobm + MoreThanTwo, data=PS5DATA)
model_ovb <- lm_robust(HoursWorked ~ MoreThanTwo, data=PS5DATA)
summary(model_ctr)
## 
## Call:
## lm_robust(formula = HoursWorked ~ pobd + pobm + MoreThanTwo, 
##     data = PS5DATA)
## 
## Standard error type:  HC2 
## 
## Coefficients:
##               Estimate Std. Error  t value  Pr(>|t|)  CI Lower   CI Upper
## (Intercept) 24.4019439  0.0477572 510.9583 0.000e+00 24.308341 24.4955467
## pobd        -0.0002584  0.0006167  -0.4189 6.753e-01 -0.001467  0.0009504
## pobm        -0.0074137  0.0006258 -11.8467 2.274e-32 -0.008640 -0.0061872
## MoreThanTwo -4.6054079  0.0707601 -65.0848 0.000e+00 -4.744096 -4.4667201
##                 DF
## (Intercept) 308973
## pobd        308973
## pobm        308973
## MoreThanTwo 308973
## 
## Multiple R-squared:  0.01527 ,   Adjusted R-squared:  0.01526 
## F-statistic:  1553 on 3 and 308973 DF,  p-value: < 2.2e-16
summary(model_ovb)
## 
## Call:
## lm_robust(formula = HoursWorked ~ MoreThanTwo, data = PS5DATA)
## 
## Standard error type:  HC2 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|) CI Lower CI Upper     DF
## (Intercept)   24.604    0.03777   651.4        0   24.530   24.678 388779
## MoreThanTwo   -5.147    0.06346   -81.1        0   -5.271   -5.022 388779
## 
## Multiple R-squared:  0.01693 ,   Adjusted R-squared:  0.01693 
## F-statistic:  6577 on 1 and 388779 DF,  p-value: < 2.2e-16

The coefficient for the regression run without controls displays a lower value than those run with my controls, which fits with my expectation. Moreover, this control does not risk opening a backdoor path, since place of birth does not depend on hours worked nor gender.

Question 2

2 a) Conditions for OVB

Here the instrument is same sex, the causal variable is MoreThanTwo and the dependent variable is HoursWorked. The instrument must (1) have a sufficiently strong correlation with the causal variable, (2) only affect the dependent variable through the causal variable, and (3) hold no correlation to any of the covariates run in the regression.

We can test (1) – the relevance of the instrument – by checking that the first stage regression yields a significant slope coefficient.

lm(PS5DATA$MoreThanTwo ~ PS5DATA$samesex) |> summary()
## 
## Call:
## lm(formula = PS5DATA$MoreThanTwo ~ PS5DATA$samesex)
## 
## Residuals:
##    Min     1Q Median     3Q    Max 
## -0.401 -0.401 -0.339  0.599  0.661 
## 
## Coefficients:
##                 Estimate Std. Error t value Pr(>|t|)    
## (Intercept)     0.339022   0.001097  308.90   <2e-16 ***
## PS5DATA$samesex 0.061954   0.001546   40.08   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.4819 on 388779 degrees of freedom
## Multiple R-squared:  0.004115,   Adjusted R-squared:  0.004113 
## F-statistic:  1606 on 1 and 388779 DF,  p-value: < 2.2e-16

The slope coefficient is significantly different from 0, which supports our relvenace assumption.

The last two conditions are the exclusion restriction. We cannot test this rigourously, but if the the coefficient of the slope for hoursworked on our instrument is insignificant, this is a good sign that the instrument only acts through the causal variable. We check this

lm(PS5DATA$HoursWorked ~ PS5DATA$samesex) |> summary()
## 
## Call:
## lm(formula = PS5DATA$HoursWorked ~ PS5DATA$samesex)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -22.822 -22.577   2.423  17.178  76.423 
## 
## Coefficients:
##                 Estimate Std. Error t value Pr(>|t|)    
## (Intercept)     22.82190    0.04350 524.675  < 2e-16 ***
## PS5DATA$samesex -0.24490    0.06126  -3.998  6.4e-05 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 19.1 on 388779 degrees of freedom
## Multiple R-squared:  4.11e-05,   Adjusted R-squared:  3.853e-05 
## F-statistic: 15.98 on 1 and 388779 DF,  p-value: 6.402e-05

This result does not give conclusive support on the channel through which samesex acts on HoursWorked, so we should proceed with caution.

2 b) TSLS

first_stage <- lm(MoreThanTwo ~ samesex, data=PS5DATA)
reduced_form <- lm(HoursWorked ~ samesex, data=PS5DATA)
IV_estimand <- reduced_form$coefficients[2]/first_stage$coefficients[2]
print(IV_estimand)
##   samesex 
## -3.952884

is our IV estimate for \(\beta_1\). If our IV-regression is correct, \(\beta_0\) would be the mean hours worked for females with less than or exactly two children, and \(\beta_1\) would be the increment in hours worked caused solely by an exogenous switch to having more than two children.

2 c)

From the first stage regression which is a linear probability model, having sex children causes a change in the probability of having more than two children of

first_stage$coefficients[2]*100
##  samesex 
## 6.195361

percentage points.

2d)

From the reduced form regression, having same sex children causes a change in hours worked of

reduced_form$coefficients[2]
##    samesex 
## -0.2448955

2e)

They are equal, because this is how I orignally specified my IV regression, following Mostly Harmless Econometrics.

Altneratively, I can use the package AER in R.

model_iv <- ivreg(PS5DATA$HoursWorked ~ PS5DATA$MoreThanTwo | PS5DATA$samesex)
model_iv |> summary()
## 
## Call:
## ivreg(formula = PS5DATA$HoursWorked ~ PS5DATA$MoreThanTwo | PS5DATA$samesex)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -24.162 -20.209   3.791  15.838  78.791 
## 
## Coefficients:
##                     Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          24.1620     0.3645   66.30  < 2e-16 ***
## PS5DATA$MoreThanTwo  -3.9529     0.9809   -4.03 5.58e-05 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 18.95 on 388779 degrees of freedom
## Multiple R-Squared: 0.01602, Adjusted R-squared: 0.01602 
## Wald test: 16.24 on 1 and 388779 DF,  p-value: 5.582e-05

which returns the same coefficient.

2f)

model_dad <- ivreg(PS5DATA$HoursWorkedDad ~ PS5DATA$MoreThanTwo | PS5DATA$samesex)
model_dad |> summary()
## 
## Call:
## ivreg(formula = PS5DATA$HoursWorkedDad ~ PS5DATA$MoreThanTwo | 
##     PS5DATA$samesex)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -44.485  -4.485  -4.012   5.988  54.988 
## 
## Coefficients:
##                     Estimate Std. Error t value Pr(>|t|)    
## (Intercept)          44.0117     0.2569 171.292   <2e-16 ***
## PS5DATA$MoreThanTwo   0.4730     0.7052   0.671    0.502    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 13.39 on 308975 degrees of freedom
## Multiple R-Squared: -0.0008682,  Adjusted R-squared: -0.0008714 
## Wald test:  0.45 on 1 and 308975 DF,  p-value: 0.5023

The coefficient of hours worked is no longer significant when looking at male parents.

Question 3

3a)

model_iv <- ivreg(PS5DATA$HoursWorked ~  (PS5DATA$MoreThanTwo | PS5DATA$samesex) + PS5DATA$pobd + PS5DATA$pobm) 
model_iv |> summary()
## 
## Call:
## ivreg(formula = PS5DATA$HoursWorked ~ (PS5DATA$MoreThanTwo | 
##     PS5DATA$samesex) + PS5DATA$pobd + PS5DATA$pobm)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -24.493 -21.570   2.225  18.065  81.968 
## 
## Coefficients:
##                                             Estimate Std. Error t value
## (Intercept)                               24.5019377  0.0629839 389.019
## PS5DATA$MoreThanTwo | PS5DATA$samesexTRUE -2.5584985  0.0717798 -35.644
## PS5DATA$pobd                              -0.0011858  0.0005950  -1.993
## PS5DATA$pobm                              -0.0076638  0.0006017 -12.736
##                                           Pr(>|t|)    
## (Intercept)                                 <2e-16 ***
## PS5DATA$MoreThanTwo | PS5DATA$samesexTRUE   <2e-16 ***
## PS5DATA$pobd                                0.0463 *  
## PS5DATA$pobm                                <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 18.81 on 308973 degrees of freedom
## Multiple R-Squared: 0.005625,    Adjusted R-squared: 0.005615 
## Wald test: 582.6 on 3 and 308973 DF,  p-value: < 2.2e-16

The estimate of the coefficient of MoreThanTwo is now less in absolute value, but bigger in real terms. I imagine this is because there were additional omitted variables I did not control for, causing downward bias, in my original regression.

3b)

If the instruments are not exogenous, then the fitted values of the causal variable in the first stage should be correlated with the error terms of the first stage. We can check this for both variables at the same time by computing their J-stat.

model_ovb <- ivreg(HoursWorked ~ MoreThanTwo | samesex + MULTI2ND, data=PS5DATA)

model_ovb.sum <- model_ovb |> summary()
error_hats <-model_ovb.sum$residuals
model2 <- lm(error_hats ~ PS5DATA$samesex + PS5DATA$MULTI2ND)
model2.sum <- model2 |> summary()
m <- 2 # number of instruments
k <- 1 # number of regressors
degrees_of_freedom <- m-k
model2.sum$fstatistic*m
##        value        numdf        dendf 
## 2.895466e-02 4.000000e+00 7.775560e+05

With 1 degree of freedom and an F-stat of 2.895466e-02, my test statistic falls within the acceptance bands of my chi-squared distribution. So I fail to reject the hypothesis that these error terms are not correlated with the instruments.

3c)

models <- list(model_ovb, lm(HoursWorked ~ pobd + pobm + MoreThanTwo, data=PS5DATA))
stargazer(models, type = "text")
## 
## ======================================================================
##                                    Dependent variable:                
##                     --------------------------------------------------
##                                        HoursWorked                    
##                         instrumental                  OLS             
##                           variable                                    
##                             (1)                       (2)             
## ----------------------------------------------------------------------
## pobd                                                -0.0003           
##                                                     (0.001)           
##                                                                       
## pobm                                               -0.007***          
##                                                     (0.001)           
##                                                                       
## MoreThanTwo              -3.801***                 -4.605***          
##                           (0.410)                   (0.070)           
##                                                                       
## Constant                 24.106***                 24.402***          
##                           (0.155)                   (0.048)           
##                                                                       
## ----------------------------------------------------------------------
## Observations              388,781                   308,977           
## R2                         0.016                     0.015            
## Adjusted R2                0.016                     0.015            
## Residual Std. Error 18.948 (df = 388779)     18.715 (df = 308973)     
## F Statistic                              1,597.071*** (df = 3; 308973)
## ======================================================================
## Note:                                      *p<0.1; **p<0.05; ***p<0.01

The slope of the coefficeint is downward bias in my controlled regression without an instrument, so I failed to capture important OVB, and instrumenting to eliminate this seems necessary.