Exploring the Anatomy of a Successful TED talk

Charles Leung
Posted on Aug 22, 2016

From Pericles to Barack Obama, some of the greatest orators of our time have committed themselves to spreading an idea that will not only inform but also inspire.  TED (Technology, Entertainment, and Design) continues this tradition as a nonprofit that serves as a medium for successful and unique individuals to share their stories, passions, and innovations. As a global community, TED strives to engage people on and off the internet through videos of conference talks. Driven solely by the question, “How can we best spread great ideas?”, TED has become a well-established clearinghouse for knowledge, inspiration, and wisdom.

But what drives viewership? What makes one video more popular or rated more beautiful than another? For this project, I sought to explore these questions by extracting data from the TED website:

1.       Speaker Name

2.       Speech Transcript

3.       Views

4.       Title

5.       Rating

6.       Month uploaded

7.       Duration

8.       Speaker Gender

Using ScraPy, 1874 transcripts were collected, ranging in time from 2006 to 2016. You can see the code used in the development of the spider and collection of the data here:

[https://gist.github.com/LostMailman/58a033566d326748f62b561b159171e8#file-talkspider-py]

Sometimes, it may not be the diction, tone, or length that controls views – in fact it may sometimes be an audiences hidden biases. One of the major things that can be seen from doing a simple numerical exploratory data analysis is the difference in male vs. female speakers.

numEDA

The ratio is almost 2.2 males for every 1 female speaker, which may imply that men are given more opportunity than women to speak at the conference. Take a look at the following Rating Proportion graph:

 Gender_Ratings

What you can see here is that women are more likely to be rated ‘Beautiful’, much more likely to be rated ‘Courageous’, and ‘Inspiring’. Men on the other hand are more likely to be ‘Fascinating’ and ‘Ingenious.’ A Chi squared test shows that at least one of the categories is dependent on another with a significant p-value of 2.2e-16. This leads me to believe that women are generally recruited to speak about social topics such as feminism. Despite the difference in rating proportion, Women and men garner about the same amount of views:

 Sex_Density

Diction is also considered a huge factor in determining a speech’s success. For each transcript, the top ten words that were used were collated, then summarized by frequency. Comparing the frequency tables of words among different quartiles:

 words_quartiles

It seems that the top ten words are similar across all quartiles: ‘can’, ‘one’, ‘like’, ‘people’, ‘just’, ‘now’, ‘know’, ‘actually’, ‘see’, ‘really’, ‘world’.

The rating proportions are visualized in the form of a word cloud – what can be seen here is the same prevalence of words shown above:

 InformativeIngeniousInspiringBeautiful Courageous Fascinating

The ‘funny’ rating, however, is more interesting and varied. It goes to show that people are less likely to rate a talk funny than they are the other categories:

Funny

Finally, to understand if any of the continuous data collected had any effect on views, I ran a linear regression against views with the duration of the talk, the gender of the speaker, and the date it was uploaded. The following are the initial results:

 views_LM

The initial Q-Q plot looks terrible above 1 quartile. I tried to linearize this relationship with a boxcox transformation (lambda = -18/99):

 views_BC

The Q-Q plot looks much better, and the result is a significant (p-value = 2.2e-16) equation. The significant coefficients are the duration and the date – the latter being much more significant. The equation however only explains 7.3 % of the variance. Date is also correlated with views, because the longer a video has been uploaded for, the more views it is likely to have. As a result, this linear model is inconclusive.

With more time, further relationships may be investigated with text mining machine learning algorithms such as Naïve Bayes classifiers. What can be noted is the discrepancy with male and female speakers, in proportion and numbers. While TED is a great organization that warms our hearts and inspires our thoughts, it may have some legwork to do before becoming fully egalitarian.

Analysis Code:

[https://gist.github.com/LostMailman/58a033566d326748f62b561b159171e8#file-ted_analysis-r]

 

About Author

Charles Leung

Charles Leung

During his past three years in the manufacturing industry, Charles has discovered and developed his passion for big data – not only to solve quality and production issues but also to create tools that automated and optimized steelmaking...
View all posts by Charles Leung >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws 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 Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Classes Demo Day Demo Lesson Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet Lectures linear regression Live Chat Live Online Bootcamp Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Lectures Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python python machine learning python scrapy python web scraping python webscraping Python Workshop R R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking Realtime Interaction recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp