Chapter 10 A Little Shiny
Websites like US News & World Report have a set of criteria with which they use to create their lists, but we ask the following: who’s to say that their criteria matches yours? To accurately represent the school selection process, we found it more appropriate to evaluate the fitness level with a Fitness Index that measures the level of fitness between a student and their school options.
(In that way, Zuofu could pretend that there’s such person Zafo with a 1580 SAT who wants to go to a big school in the city.)
10.1 User Input
We created a Shiny App for students interested in finding colleges. After inputing predictive variables, the system will provide a list of liberal arts colleges and universities curated for the student.
User Input in the Shiny App | Description | How users input |
---|---|---|
Size of school (UGDS) | number of undergraduate degree-seeking students | Users can select a range between 0 and 4000 (Liberal Arts Colleges) and 0 and 60000 (Universities) |
SAT Scores (SAT_AVG) | combined SAT average by year, interchangeable with SAT | Users can input their own SAT score. Our system will compare it with average SAT scores of each college and calculate students’ compatibility. (ACT score will be automatically transformed.) |
A college’s region (REGION) | geographic region (e.g. Minnesota is in the Plains region) | This is a multi-check box. Users can filter away regions where they don’t want to attend college. |
Setting (LOCALE) | setting (large city, small town, etc.) | This is a low weight variable where students can state their setting preference for college. Colleges that fit their description will be considered more compatible with students; schools will not be eliminated solely by this factor. |
Average Cost Per Year (COSTT4_A) | average cost of attendance per year | Users can use a slidebar to set their preferred full tuition range (excludes financial aid, scholarships etc.) |
Racial diversity (UGDS_WHITE) | racial diversity by the percentage of white students | Users can select a preferred percentage. Schools with an incompatible percentage (>15% net difference) will be punished by the algorithm; schools will only be eliminated solely by this factor if net difference > 35%. |
10.2 Possible Data Cleaning?
We found out that more schools than we estimated had NAs in their SAT score section (they do not provide standardized test scores). We subsequently found that NAs exist throughout our dataset.
Since our final goal is to create an interactive tool for students to evaluate their compatibility with colleges, we decided to leave these NAs alone until the final phase (which is NOW). We re-weighed variables when building our fitness index algorithm. The weight of NA variables will be set to \(0\) by an if statement, and other variables will have a higher weight proportionally in correspondence.
10.3 Shiny App
Considering the difficulty of embedding a Shiny App in the bookdown, we instead include links of our Shiny App that you could play around. Check out which colleges fit you the most!
Before you head over to try out the Shiny App for yourself, what is the purpose of this tool? After taking in your inputs in each of the sections above, the model will create a fitness index for you. Some of your inputs help select schools that you are compatible with by filtering (e.g. size, region, cost). Other inputs alter the weight of a given variable based on how compatible you are with the options (e.g. SAT/ACT score, diversity, setting). Then, we output a list of schools that work with your parameters. These schools are accompanied with a value, which can be interpreted as follows: the larger the number, the closer the fit.
For liberal arts colleges you are interested in:
https://zuofuhuang.shinyapps.io/collegeranking/
For universities you are interested in:
10.4 In case you’re curious…
If you are curious about the code (which is somewhat complicated), email Zuofu (zhuang@macalester.edu or zuofuhuang@gmail.com) for more details.