-
Notifications
You must be signed in to change notification settings - Fork 0
/
TableA9AgilePredators20191115.do
54 lines (36 loc) · 2.25 KB
/
TableA9AgilePredators20191115.do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
**Table A8: Less-than-4-year degree/certificate graduation rates and changes in ownership form
clear all
insheet using "https://raw.githubusercontent.com/charlieeatonphd/agilepredators/master/agilepredatorsdata20191116.csv", comma clear
label define iclevel 1 "Four or more years" 2 "At least 2 but less than 4 years"
label define owner_pe 1 "Private equity" 2 "Publicly traded" 3 "Privately held" 4 "Non-profit" 5 "State" 6 "Community"
rename iclevel iclevel_s
encode iclevel_s, gen(iclevel) label(iclevel)
rename state_n state_s
encode state_s, gen(state_n)
rename owner_pe owner_pe_s
encode owner_pe_s, gen(owner_pe) label(owner_pe)
gen grad_4chrt_thousands = grtotltchrt4yr / 1000
xtset unitid year
xi: xtreg grad_rate_150_p4yr_w peswitcherall ///
i.iclevel i.year i.state_n*year if idx_gr==. , fe cluster(peswitchsystemall) noomitted
eststo est1
xi: xtreg grad_rate_150_p4yr_w peswitcherall chain online selective grad_4chrt_thousands ///
i.iclevel i.year i.state_n*year if idx_gr==. , fe cluster(peswitchsystemall) noomitted
eststo est2
xi: xtreg grad_rate_150_p4yr_w peswitcherall chain online selective pct4yrchrtgrbkaat_w pct4yrchrtgrwhitt_w pct4yrchrtgrhispt_w dist_pell ///
grad_4chrt_thousands i.iclevel i.year i.state_n*year if idx_gr==. , fe cluster(peswitchsystemall) noomitted
eststo est3
xi: xtreg grad_rate_150_p4yr_w poswitcherall ///
i.iclevel i.year i.state_n*year if idx_gr==. , fe cluster(poswitchsystemall) noomitted
eststo est4
xi: xtreg grad_rate_150_p4yr_w poswitcherall chain online selective grad_4chrt_thousands ///
i.iclevel i.year i.state_n*year if idx_gr==. , fe cluster(poswitchsystemall) noomitted
eststo est5
xi: xtreg grad_rate_150_p4yr_w poswitcherall chain online selective pct4yrchrtgrbkaat_w pct4yrchrtgrwhitt_w pct4yrchrtgrhispt_w dist_pell ///
grad_4chrt_thousands i.iclevel i.year i.state_n*year if idx_gr==., fe cluster(poswitchsystemall) noomitted
eststo est6
esttab est1 est2 est3 est4 est5 est6 ///
using "graduation-4-year.csv", cells(b(star fmt(3)) se(fmt(3))) stardetach ///
legend label varlabels(_cons Constant) stats(N N_g, fmt(3 0 0) ///
label(R-square Institution-years Institutions)) starlevels(^ .1 * .05 ** .01 *** .001) ///
keep (peswitcherall poswitcherall chain online grad_4chrt_thousands) replace