The variable entry_age is calculated from a student's birth_date information and their semester of entry. The following is the Stata code that calculates this variable:
gen entry_age = (entry_date - dob)/365.25