Data Exploration on 2015 World University Rankings

Posted on May 13, 2016
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.
Contributed by Ho Fai Wong. He  is currently in the NYC Data Science Academy 12 week full-time Data Science Bootcamp program taking place between April 11th to July 1st, 2016. This post is based on his second class project - Shiny visualization (due on the 4th week of the program).

I. Introduction

Several institutions score and rank universities across the world every year. What were the 'best' universities in 2015? How do these rankings differ by ranking organization? These were some of the questions that motivated me to develop a Shiny and R-based data application to explore the 2015 world university rankings provided on Kaggle by the following 3 ranking organizations:

In my particular case, I was curious how the French "Grande Ecoles" performed in these international university rankings since I had studied in one. My initial perception was that these prestigious schools are very well-regarded in France, but relatively unknown overseas. Can the 2015 world university rankings from these 3 organizations confirm and provide additional insights to this assumption?

You can try out the application yourself here.

All the code is on GitHub here.

II. Preparing the Data

Kaggle provided the multi-year international university rankings in separate CSV files. I focused on the 2015 rankings, which covered a total of 1015 institutions across 61 countries:

  • Shanghai Rankings: 500 universities
  • Times World University Rankings: 401 universities
  • Center for World University Rankings: 1000 universities

Considerable cleanup was required before building the Shiny application:

  • University names: The only university identifiers in each data file were the university names, and these weren't consistent across the 3 ranking organizations. As a result, I reconciled university names across the 3 ranking organizations to ensure consistency
  • Countries: The Shanghai data set did not contain country information, but Kaggle provided a separate mapping table of universities to countries to fill in this gap partially. I filled in any remaining gaps in country names, and reconciled country names across the 3 organizations
  • Missingness: There were a few cases of missing criteria scores which I assumed were Missing At Random and imputed using K-Nearest Neighbors with k=sqrt(n) (e.g. 0.4% of the N&S criteria for Shanghai data and 5% of the income criteria for Times data
  • World ranks: Shanghai and Times rankings stopped giving individual ranks to universities after the ranks of 100 and 200 respectively, and instead binned them into ranges. For visualization purposes, I assigned the middle of those ranges as the rank. Similarly, some universities had equal ranks (i.e. '=134' in the data) so I assigned the same rank to each of those institutions
  • Criteria ranks to scores: Shanghai and Times data had scores (0 to 100) for the sub-criteria but CWUR data had ranks instead. For clarity and relative comparison purposes, I converted the CWUR sub-criteria ranks into scores ranging from 0 to 100: score = (1-rank/max)*100

III. Building the App

The Shiny application has 3 main sections:

  • Country Statistics: world map and bar chart of key metrics by country
  • Organization Comparison: university rankings compared between organizations
  • University Profile: for a given university, its sub-criteria scores for each ranking organization

Country Data Statistics

The first tab of the application summarizes university ranking key metrics by country. The user can select which ranking organization's data to display, followed by which specific metric to represent as each country's color (e.g. top rank, median rank, etc). Since each organization used different scoring criteria, the list of metrics will change depending on the user's selection of the ranking organization (using a conditional panel). Definitions for these criteria can be found on the Reference tab.

Data Exploration on 2015 World University Rankings

2015 World University Rankings - Country Stats Map

The same data, filtered by the same selections on the left panel, is also displayed as bar charts with ordered countries.

Data Exploration on 2015 World University Rankings

2015 World University Rankings - Country Stats Bar Plot

It becomes apparent that, depending on the ranking organization selected and criteria considered, a country's universities could perform quite differently in these assessments. For example, while the United States retains the top-ranked university in all 3 rankings, Russia's top university dropped by 110 positions between the Shanghai and Times rankings.

Let's look closer at the comparison of rankings between these 3 organizations.

Organization Comparison Data

The second tab of the application compares university world rankings between organizations on a scatterplot which can be customized by the user to gain specific insights. The user can:

  • Select which organizations to compare i.e. to display on the vertical and horizontal axis
  • Select one or more countries to display on the scatterplot
  • Zoom in/out on the scatterplot and hover on a point for additional information on the university
  • Filter universities based on the specific metrics and criteria for each of the selected ranking organizations. Definitions for these criteria can be found on the Reference tab

In addition, the diagonal line represents the case where both organizations assigned the same rank to the university. Conversely, the farther a point is from the line, the greater the discrepancy between the organizations' assigned ranks for that university.

Data Exploration on 2015 World University Rankings

2015 World University Rankings - Org Comparison Scatterplot

Just looking at the comparison of Shanghai against Times rankings, quite a few universities are positioned far from the diagonal line i.e. there is a large difference in how each organization ranked them. For example, Ecole Polytechnique (one of the most prestigious Grandes Ecoles in France), was ranked 61 by Times and 350 by the Shanghai ranking!

Using the sliders to filter on each organization's metrics can also lead to interesting observations. For example, according to the Times rankings, the United States of America seems to have very few universities with a high "international score" compared to other countries (only MIT in the USA has such a score greater than 75)...

Let's look at specific universities to compare how each ranking organization's criteria scoring coincide with or differ from each other.

University Profile

The third tab of the application displays, for a selected university, the world rankings by each of the ranking organizations along with the scores for the underlying criteria. As described earlier, the CWUR data contained ranks for their criteria whereas the Shanghai and Times data contained scores (from 0 to 100). For consistency and ease of comparison between the ranking organizations, CWUR criteria rankings were converted to scores out of 100: score = (1-rank/max)*100.

2015 World University Rankings - Uni Profile

2015 World University Rankings - Uni Profile

A user can select a specific university to see and compare how each organization assessed that institution using their respective criteria. Keeping the example of Ecole Polytechnique, this university scored much lower in the Shanghai rankings than the Times rankings; the former places a much heavier emphasis on research and publications whereas the latter also considers international outlook and industry income.

Data and Reference

The Data tab allows a user to search for a specific country or university and obtain the world ranking data in tabular form for each of the 3 ranking organizations.

The reference tab contains background and comments on the data preparation which I mentioned at the beginning of this post. I also included here a graphical view of the difference in universities in scope across the 3 ranking organizations, as well as correlation plots for each of the ranking organizations' criteria.

IV. Conclusion

Hopefully, this Shiny application can help you explore world university rankings from the Shanghai, Times and CWUR rankings: look up your own university, compare institutions for future students and see how rankings and criteria scores vary depending on which organization assessed the institution!

One of the main takeaways here is that, before making any definitive statements or decisions based on these rankings, one needs to understand precisely how each organization's criteria are defined and universities assessed against them. Standardizing such rankings is complex and can often be controversial:

  • While the Times ranking is widely regarded as one of the most influential and widely observed university measures, it has been criticized for its commercialization and for undermining non-English-instructing institutions
  • The Shanghai ranking, an equally influential ranking, has been criticized for focusing on raw research power and for undermining humanities and quality of instruction

Possible future steps for this project would be carrying out statistical analysis to investigate the impact and importance of each organization's criteria, and potentially designing a more balanced ranking framework.

In the meantime, please feel free to explore this application and glean more information on the 2015 world university rankings (and discrepancies between ranking organizations...). If you have any comments, suggestions or insights, please comment below!

About Author

Ho Fai Wong

With a diverse background in computer science and 9 years in Financial Services Technology Consulting, Ho Fai has been applying his analytical, problem-solving, relationship and team management skills at PwC, one of the Big Four consulting firms, focusing...
View all posts by Ho Fai Wong >

Related Articles

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI