Description Usage Arguments Value
attrition_data_prep
modifies the PhD Attrition by Hegis report
and returns a dataframe that is ready for plotting by calculatiing totals and
attrition rates
1 2 3 4 | attrition_data_prep_parameterized(dfAttrition_report, college_var = Col,
hegiscd_var = Hegis.Cd, hegisdesc_var = Hegis.Description,
cohort_var = Cohort.Year, WoMA_var = Without.MA..8,
wMA_var = With.MA..9)
|
dfAttrition_report |
a copy of the 'PhD Attrtion by Hegis Code Template - AY[AY] thru [AY] - [date]' report imported from the xlsx |
A list of dataframes: one with one column with one row per program/cohort (dfAttrition_wide
), and
one with one row per program/cohort and exit pathway (dfAttrition_long
)
Shared Variables:
Col
is the college;
Hegis.Cd
is HEGIS code of the phd program;
Hegis.Description
is the HEGIS description fo the phd program;
Cohort.Year
is the academic year of the entering cohort e.g., 02-03 is the cohort that
began in Fall 2002;
Cohort.Size
number of students in the entering cohort;
dfAttrition_wide
variables:
Without.MA[__n]
number of students who left in a given year in the n
+ 1 year in program
without a Masters or PhD
Stop.Out[__n]
number of students who left in a given year in the n
+ 1 year in program
but returned at a later date
PhD.Degree[__n]
number of students who left in a given year in the n
+ 1 year in program
with a PhD
Continuing[__n]
number of students who continued from year n
+ 1 to year n
+ 2
Info.Unknown[__n]
number of students in the n
+ 1 year in program that we were not
able to find information on
Without.MA[__n]
number of students who left in a given year in the n
+ 1 year in program
without a Masters or PhD
Without.MA_yr[n]
is the number of phd students who left by the end of year n
without a Masters degree or a PhD
With.MA_yr[n]
is the number of phd students who left by the end of year n
with a Masters degree and without a PhD
Total_yr[n]
is the number of phd students who left by the end of year n
without
a PhD
dfAttrition_long
variables:
AcadYear
numeric variable indicating the academic year of the entering cohort (e.g., "02-03" would
have a value of 2003)
Pathyear
string/character variable where the first part indicates the path of exit (with MA,
without MA, total) and the second part indicates the year in program
Count
numeric varialbe indicating the cumulative number of students who exited the program
in the given path by the year in program
Year
string/character variable indicating the year in program
Path
string/character variable indicating the path of exit
Per.Cohort
string/character indicating the percentage of the cohort that exited the program
in the given path by the year in program
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.