This code runs regressions and event studies examining the effects of in-utero exposure to hurricanes on postnatal breastfeeding behaviors (dummy variable for >= 6 months)
## OLS estimation, Dep. Var.: long_brstfd
## Observations: 8,878
## Fixed-effects: district_name: 100, bday_mo: 160, GEO_IA1992_2015^bday_year: 183
## Standard-errors: Clustered (district_name)
## Estimate Std. Error t value Pr(>|t|)
## `time_diff_months.cat_(-Inf,-36]` -0.096488 0.049103 -1.965000 0.052217
## `time_diff_months.cat_(-36,-19]` 0.052914 0.064789 0.816712 0.416054
## `time_diff_months.cat_(-19,-9]` 0.100397 0.073753 1.361300 0.176523
## `time_diff_months.cat_(-9,0]` -0.084588 0.071414 -1.184500 0.239063
## `time_diff_months.cat_(0,9]` 0.078968 0.057460 1.374300 0.172445
## `time_diff_months.cat_(9,18]` 0.031043 0.037907 0.818929 0.414794
## `time_diff_months.cat_(18, Inf]` -0.095527 0.054344 -1.757800 0.081871
## factor(EDUCLVL)1 -0.047956 0.023137 -2.072700 0.040801
## factor(EDUCLVL)2 -0.021925 0.021662 -1.012100 0.313948
## factor(EDUCLVL)3 -0.026732 0.035717 -0.748434 0.455973
## factor(EDUCLVL)8 0.204592 0.136219 1.501900 0.136297
## factor(URBAN)2 -0.006488 0.016390 -0.395855 0.693064
## factor(KIDSEX)2 0.013049 0.013133 0.993637 0.322822
## factor(KIDTWIN)21 -0.026227 0.115302 -0.227466 0.820530
## factor(KIDTWIN)22 -0.002469 0.059611 -0.041424 0.967042
## factor(KIDBORD)2 -0.001688 0.012383 -0.136298 0.891862
## factor(KIDBORD)3 -0.003068 0.015704 -0.195357 0.845514
## factor(KIDBORD)4 0.018038 0.024528 0.735425 0.463819
## factor(KIDBORD)5 -0.010768 0.049065 -0.219453 0.826749
## factor(KIDBORD)6 0.119887 0.045590 2.629700 0.009911
## factor(KIDBORD)7 -0.061813 0.081705 -0.756542 0.451121
## factor(KIDBORD)8 0.103258 0.064378 1.603900 0.111915
## factor(KIDBORD)9 0.160876 0.087617 1.836100 0.069340
## factor(KIDBORD)10 0.133044 0.065311 2.037100 0.044310
## factor(KIDBORD)11 0.146616 0.075123 1.951700 0.053801
## factor(KIDBORD)12 0.044158 0.049348 0.894841 0.373042
## factor(KIDBORD)13 0.128322 0.085033 1.509100 0.134463
## factor(RELIGION)1000 -0.158512 0.082155 -1.929400 0.056540
## factor(RELIGION)2000 -0.108961 0.082523 -1.320400 0.189755
## factor(RELIGION)3000 -0.069504 0.117582 -0.591109 0.555794
## factor(RELIGION)4000 -0.176072 0.081343 -2.164600 0.032824
## factor(RELIGION)6402 0.360690 0.141767 2.544200 0.012497
## factor(RELIGION)7200 -0.163172 0.189511 -0.861014 0.391311
## factor(RELIGION)7400 -0.006401 0.106474 -0.060116 0.952184
## factor(RELIGION)9000 -0.123203 0.099671 -1.236100 0.219348
## mean_children -0.051975 0.067464 -0.770409 0.442892
## literacy -0.606887 0.174100 -3.485800 0.000733
## mean_wealth 0.070185 0.083058 0.845012 0.400142
## urban_per -0.004062 0.101558 -0.039993 0.968180
## `time_diff_months.cat_(-Inf,-36]`:close 0.142574 0.080355 1.774300 0.079088
## close:`time_diff_months.cat_(-36,-19]` -0.036768 0.071888 -0.511462 0.610166
## close:`time_diff_months.cat_(-19,-9]` -0.238719 0.122671 -1.946000 0.054489
## close:`time_diff_months.cat_(-9,0]` -0.035833 0.084745 -0.422830 0.673337
## close:`time_diff_months.cat_(0,9]` -0.156627 0.074133 -2.112800 0.037135
## close:`time_diff_months.cat_(9,18]` -0.153030 0.050997 -3.000800 0.003407
## close:`time_diff_months.cat_(18, Inf]` 0.127565 0.082315 1.549700 0.124402
##
## `time_diff_months.cat_(-Inf,-36]` .
## `time_diff_months.cat_(-36,-19]`
## `time_diff_months.cat_(-19,-9]`
## `time_diff_months.cat_(-9,0]`
## `time_diff_months.cat_(0,9]`
## `time_diff_months.cat_(9,18]`
## `time_diff_months.cat_(18, Inf]` .
## factor(EDUCLVL)1 *
## factor(EDUCLVL)2
## factor(EDUCLVL)3
## factor(EDUCLVL)8
## factor(URBAN)2
## factor(KIDSEX)2
## factor(KIDTWIN)21
## factor(KIDTWIN)22
## factor(KIDBORD)2
## factor(KIDBORD)3
## factor(KIDBORD)4
## factor(KIDBORD)5
## factor(KIDBORD)6 **
## factor(KIDBORD)7
## factor(KIDBORD)8
## factor(KIDBORD)9 .
## factor(KIDBORD)10 *
## factor(KIDBORD)11 .
## factor(KIDBORD)12
## factor(KIDBORD)13
## factor(RELIGION)1000 .
## factor(RELIGION)2000
## factor(RELIGION)3000
## factor(RELIGION)4000 *
## factor(RELIGION)6402 *
## factor(RELIGION)7200
## factor(RELIGION)7400
## factor(RELIGION)9000
## mean_children
## literacy ***
## mean_wealth
## urban_per
## `time_diff_months.cat_(-Inf,-36]`:close .
## close:`time_diff_months.cat_(-36,-19]`
## close:`time_diff_months.cat_(-19,-9]` .
## close:`time_diff_months.cat_(-9,0]`
## close:`time_diff_months.cat_(0,9]` *
## close:`time_diff_months.cat_(9,18]` **
## close:`time_diff_months.cat_(18, Inf]`
## ... 1 variable was removed because of collinearity (close)
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## RMSE: 0.462382 Adj. R2: 0.084125
## Within R2: 0.010951
## OLS estimation, Dep. Var.: long_brstfd
## Observations: 8,881
## Fixed-effects: district_name: 100, bday_mo: 160, GEO_IA1992_2015^bday_year: 183
## Standard-errors: Clustered (district_name)
## Estimate Std. Error t value Pr(>|t|)
## treated 0.137982 0.071939 1.918000 0.057987 .
## factor(EDUCLVL)1 -0.043263 0.022494 -1.923300 0.057316 .
## factor(EDUCLVL)2 -0.007199 0.021222 -0.339244 0.735145
## factor(EDUCLVL)3 0.000375 0.036177 0.010360 0.991755
## factor(EDUCLVL)8 0.138164 0.099630 1.386800 0.168626
## factor(KIDSEX)2 0.013172 0.013523 0.974011 0.332425
## factor(KIDTWIN)21 -0.023696 0.114986 -0.206075 0.837155
## factor(KIDTWIN)22 -0.002284 0.057289 -0.039872 0.968275
## factor(KIDBORD)2 -0.001180 0.012659 -0.093219 0.925918
## factor(KIDBORD)3 -0.003433 0.015628 -0.219690 0.826565
## factor(KIDBORD)4 0.015553 0.024937 0.623723 0.534244
## factor(KIDBORD)5 -0.012284 0.050887 -0.241390 0.809752
## factor(KIDBORD)6 0.120207 0.047078 2.553400 0.012194 *
## factor(KIDBORD)7 -0.053214 0.083300 -0.638821 0.524414
## factor(KIDBORD)8 0.099145 0.068656 1.444100 0.151876
## factor(KIDBORD)9 0.161518 0.084357 1.914700 0.058419 .
## factor(KIDBORD)10 0.128941 0.065732 1.961600 0.052615 .
## factor(KIDBORD)11 0.128756 0.078930 1.631300 0.106011
## factor(KIDBORD)12 0.041338 0.048502 0.852304 0.396102
## factor(KIDBORD)13 0.120217 0.087390 1.375600 0.172037
## factor(RELIGION)1000 -0.096737 0.077498 -1.248300 0.214881
## factor(RELIGION)2000 -0.056245 0.077681 -0.724050 0.470743
## factor(RELIGION)3000 -0.012328 0.116462 -0.105852 0.915914
## factor(RELIGION)4000 -0.120049 0.076044 -1.578700 0.117601
## factor(RELIGION)6402 0.294319 0.145967 2.016300 0.046474 *
## factor(RELIGION)7200 -0.083454 0.191341 -0.436151 0.663677
## factor(RELIGION)7400 0.048512 0.101085 0.479909 0.632351
## factor(RELIGION)9000 -0.059932 0.100276 -0.597670 0.551425
## mean_children -0.008339 0.068117 -0.122416 0.902817
## literacy -0.543905 0.170853 -3.183500 0.001945 **
## mean_wealth 0.114975 0.078962 1.456100 0.148533
## urban_per -0.055940 0.100169 -0.558459 0.577792
## WEALTHS -0.018717 0.008041 -2.327800 0.021959 *
## treated:WEALTHS 0.008536 0.066355 0.128642 0.897902
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## RMSE: 0.463042 Adj. R2: 0.08287
## Within R2: 0.007818