OpenSDP Analysis / Human Capital Analysis: Retention / Calculate Average Annual Teacher Retention
Examine basic novice teacher retention patterns for years in the agency.
tid
school_year
t_stay
t_transfer
t_leave
You can add a category for retirees, if you have explicit retirement data, or for “likely retirees,” teachers who left teaching and were above a cutoff age.
use "${analysis}\Teacher_Year_Analysis.dta", clear
isid tid school_year
Keep only teachers in years for which next-year retention status can be calculated.
keep if school_year >= 2010 & school_year <= 2014
assert !missing(t_stay, t_transfer, t_leave)
assert t_leave + t_transfer + t_stay == 1
tab school_year t_stay, mi
tab school_year t_transfer, mi
tab school_year t_leave, mi
summ tid
local teacher_years = string(r(N), "%9.0fc")
preserve
bysort tid: keep if _n == 1
summ tid
local unique_teachers = string(r(N), "%9.0fc")
restore
#delimit ;
graph pie t_stay t_transfer t_leave,
angle0
(330)
title
("Average Teacher Retention", span)
pie
(1, color(navy))
pie
(2, color(forest_green))
pie
(3, color(maroon))
pie
(4, color(dkorange))
plabel
(1 percent, gap(5) format("%2.0f") color(white) size(medsmall) placement(3))
plabel
(2 percent, gap(5) format("%2.0f") color(white) size(medsmall) placement(0))
plabel
(3 percent, gap(5) format("%2.0f") color(white) size(medsmall) placement(3))
plabel
(4 percent, gap(5) format("%2.0f") color(white) size(medsmall) placement(3))
plabel
(1 "Stay",
color(black) size(medsmall) placement(9) gap(20))
plabel
(2 "Transfer Schools",
color(black) size(medsmall) placement(4) gap(20))
plabel
(3 "Leave",
color(black) size(medsmall) placement(4) gap(20))
legend
(off)
graphregion(color(white) fcolor(white) lcolor(white)) plotregion(color(white)
fcolor(white) lcolor(white))
note(" " "Notes: Sample includes `teacher_years' teacher years and
`unique_teachers' unique teachers in the 2009-10 to 2013-14 school years. Retention
analyses are based" "on one-year retention rates.", span size(vsmall)) ;
#delimit cr
graph save "$graphs\Average_Teacher_Retention.gph", replace
graph export "$graphs\Average_Teacher_Retention.emf", replace
Next Analysis: Examine Teacher Turnover Across School Years