Data Science

Machine learning & data science for beginners and experts alike.
SusanCS
Alteryx Alumni (Retired)

Even though we may be physically distant from the people who are our closest social connections right now, those relationships feel more precious than ever. Quantifying the quantity and quality of those treasured social ties might feel a little strange. But the strength of individuals’ social relationships is an important variable in the “Analytics of Happiness,” as the most recent episode of our Alter Everything podcast describes. 

 

In the podcast, researcher Matthew Ackman explains how the World Happiness Report (WHR) is generated annually by the United Nations Sustainable Development Solutions Network, a UN affiliate. It seems like quantifying happiness would be near impossible, but the WHR researchers have developed a set of measures to summarize the emotional status of each country’s population.

 

One data point used in the WHR happiness measures -- which feels especially poignant in the current moment -- is survey respondents’ answer to this Gallup World Poll question: “If you were in trouble, do you have relatives or friends you can count on to help you whenever you need them, or not?” Being able to answer “yes” to this question is important not only for happiness; people with robust support networks also may experience better health and longer lives.

 

If you want to try analyzing your own network, data science (and Alteryx) have you covered. Although modeling and visualizing social networks have been part of multiple academic disciplines for over a century, data scientists have developed sophisticated ways of crunching much bigger data on interconnectivity. Designer’s own Network Analysis Tool provides a versatile way to explore and visualize network data. I tried out this workflow provided in the Community by @Tim_Napier and quickly generated this visualization of my own LinkedIn connections, grouped by company. 

 

SusanCS_0-1586964627973.png

 

For Python and R folks, the package igraph is one option for exploring networks. This example demonstrates the “Six Degrees of Kevin Bacon” game with igraph in R, and this example shows how to use igraph in Python to analyze scholarly article authorship. Other uses for network analysis include social networking apps and analytics (obviously), recommender systems, user behavior analysis, text analysis and search engines. 

 

 

SusanCS_1-1586964627966.jpeg

 

Phylogenetic network of 160 SARS-CoV-2 genomes (source).

 

At the moment, network analysis is also a tool for understanding pandemic spread. One recent study used this approach to link genomic information among SARS-CoV-2 virus strains, tracing the evolution of the virus and its infection routes. That network is shown in the graphic above. Network modeling also helps epidemiologists understand how disrupting some social connections (for example, closing schools) might change the progress of a pandemic’s spread.

 

Right now, even though some of our personal networks may be disrupted, we are fortunate to live in a time when we can still socially connect, even if at a distance. And -- as the World Happiness Report suggests -- we’ll still gain so much personal and communal happiness from enjoying our networks of connections.

 

Susan Currie Sivek
Senior Data Science Journalist

Susan Currie Sivek, Ph.D., is the data science journalist for the Alteryx Community. She explores data science concepts with a global audience through blog posts and the Data Science Mixer podcast. Her background in academia and social science informs her approach to investigating data and communicating complex ideas — with a dash of creativity from her training in journalism. Susan also loves getting outdoors with her dog and relaxing with some good science fiction. Twitter: @susansivek

Susan Currie Sivek, Ph.D., is the data science journalist for the Alteryx Community. She explores data science concepts with a global audience through blog posts and the Data Science Mixer podcast. Her background in academia and social science informs her approach to investigating data and communicating complex ideas — with a dash of creativity from her training in journalism. Susan also loves getting outdoors with her dog and relaxing with some good science fiction. Twitter: @susansivek