use "$dir_root/Data/searches/BNA_1895_Hits.dta" if inlist(frequency,"d","w","tw","thrice"), clear

merge 1:1 location county country paper frequency using "$dir_root/Data/directories/uk_1895_directory.dta", keepusing(location county country paper frequency year politics) keep(1 3) nogen

*DV: Appears in BNA
gen present=(monday_1895!=.)

*RHS
gen daily=(frequency=="d")

gen type_conservative=(politics=="Conservative")
gen type_liberal=(politics=="Liberal")
gen type_independent=(politics=="Independent")
gen type_neutral=(politics=="Neutral")


gen yrs_since_est=1895-year
drop if yrs_since_est==.

label variable daily "Daily"
label variable type_conservative "Conservative"
label variable type_liberal "Liberal"
label variable type_independent "Independent"
label variable type_neutral "Neutral"
label variable yrs_since_est "Years Since Est."



eststo T8_1: reg present daily, robust
eststo T8_2: reg present daily type_*, robust
eststo T8_3: reg present daily type_* yrs_since_est, robust


esttab T8_* using "$dir_root/Results/T7_BNA_selection_regs", label keep(daily type_* yrs_since_est) stats(N r2, label("Observations" "R-squared") fmt(0 3)) b(3) se(3) star(* 0.10 ** 0.05 *** 0.01) tex replace
