Exploring the Anatomy of a Successful TED talk

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

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

#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