<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ishan Gupta on Medium]]></title>
        <description><![CDATA[Stories by Ishan Gupta on Medium]]></description>
        <link>https://medium.com/@ishangupta8294?source=rss-d2c35652bd09------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hOYpDCCn18kJHwz_.</url>
            <title>Stories by Ishan Gupta on Medium</title>
            <link>https://medium.com/@ishangupta8294?source=rss-d2c35652bd09------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:57:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ishangupta8294/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The History of Nobel Prize with R]]></title>
            <link>https://medium.com/@ishangupta8294/the-history-of-nobel-prize-with-r-9f3e350e2ded?source=rss-d2c35652bd09------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f3e350e2ded</guid>
            <category><![CDATA[ggplot]]></category>
            <category><![CDATA[nobel-prize]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[r]]></category>
            <dc:creator><![CDATA[Ishan Gupta]]></dc:creator>
            <pubDate>Sun, 21 Jul 2019 17:27:00 GMT</pubDate>
            <atom:updated>2019-07-21T17:58:03.058Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*US7aN8RL_G2FHf1QS5dfiw.jpeg" /><figcaption><strong>“ For The Greatest Benefit To Humankind.”</strong></figcaption></figure><p>The Nobel Prize is a set of annual international awards bestowed in several categories by Swedish and Norwegian institutions in recognition of academic, cultural, or scientific advances. The will of the Swedish scientist Alfred Nobel established the five Nobel prizes in 1895.</p><p>We will dive deep into the data of Nobel Prize winners provided by The Nobel Foundation which is available on <a href="https://www.kaggle.com/nobelfoundation/nobel-laureates"><em>Kaggle</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kTFt6L9uiIj17inIEERpMA.jpeg" /></figure><p>The <em>archive.csv</em> file describes the data about each Nobel Prize winner during the 100 year period,the attributes of which have been provided in the image above.</p><p><strong>Analysis</strong> of the data involves framing the <strong>Right Questions</strong>, the questions that can be answered using a statistical language which in our case in <strong>R. </strong>Lets begin by framing the questions and try answering them one by one.</p><p>The first step involves loading the required R libraries and making a glimpse at the data.</p><blockquote># Loading in required libraries.<br><strong>library(tidyverse)</strong></blockquote><blockquote># Reading the data<br><strong>nobel &lt;- read_csv(“path/nobel.csv”)</strong></blockquote><blockquote># Glimpse of the data<br><strong>glimpse(nobel)</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*KHvwmmI9XX4vEgyv8auDVg.png" /><figcaption>Result of glimpse() function</figcaption></figure><h3><strong>1. Which Country and which sex is most represented throughout the 100 year period(i.e. between 1901 and 2016) ?</strong></h3><blockquote><strong>nobel %&gt;% group_by(birth_country,sex) %&gt;%<br>count()%&gt;%arrange(desc(n)) %&gt;%head()</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*al01J2uk2uv0WYmahqKf7Q.png" /></figure><p>Above code result shows that United States of America tops the list of Nobel Prize recipients list followed by U.K,Germany,France and Sweden.</p><blockquote><strong>nobel %&gt;%<br> group_by(sex)%&gt;% count()</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/90/1*4dH1ebYLHBVpMs_MLFQkpQ.png" /></figure><p>Counting the data by sex, Male dominance among awardees can be inferred with Male:Female ratio being 17:1.</p><h3><strong>2. Who was the first female to earn The Nobel?</strong></h3><blockquote><strong>nobel %&gt;% filter(sex==”Female”)%&gt;% top_n(1,desc(year))</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*RDh9xVfTcW1Vzarp3wkP7w.png" /></figure><p>Marie Curie was the first ever lady to win the prestigious Nobel Prize in the year <em>1903 </em>in <em>PHYSICS</em> category for her <em>researches on radiation phenomenon</em>. It can also be seen that in 1903 the prize was shared between 4 recipients.</p><h3><strong>3. What was the average age of the Nobel awardee and whether with time the average age changed?</strong></h3><p>Since, the procedure involves working with <strong><em>date/time</em></strong> so,it is required to import <strong><em>lubridate</em></strong> package from R’s libraries.</p><blockquote><strong>library(lubridate)</strong></blockquote><p># Calculating the age of Winners</p><blockquote><strong>nobel_age &lt;- nobel %&gt;%<br> mutate(age=year-year(birth_date))</strong></blockquote><p>#Plotting the age using the <strong><em>ggplot </em></strong>package and creating scatter plot</p><blockquote><strong>ggplot(nobel_age,aes(year,age))+geom_point()+geom_smooth()</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*3un1IPB590VsYJ6W7bDVUA.png" /></figure><p>In earlier days people were about 55 years of age when they received the award but, with passage of time the age increased to 65 thus, nowadays average age of a winner is 65 years.</p><h3><strong>4. Why not to look at the age trends within each category?</strong></h3><p>To look at the age change trends within each category we modify the above R code and include <strong><em>faceted scatter plots </em></strong>using <strong><em>facet_wrap(~categorical variable) </em></strong>function.</p><blockquote><strong>ggplot(nobel_age,aes(year,age))+geom_point()+geom_smooth()+facet_wrap(~category)</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*Kdx03_GvwYKY7f5fTNINmw.png" /></figure><p>The average age of the winner to a good amount in subjects like Chemistry and Physics.</p><p>Economics and Literature seems to be stable, with Nobel Prize in Economics being introduced mid 1960s.</p><h3><strong>5. Who is the Oldest and the Youngest among the winners?</strong></h3><p>One can be curious about knowing who among the Nobel Prize winners was the youngest achiever and vice versa.</p><p>This can also be done in R using the following code.</p><blockquote><strong>nobel_age %&gt;% top_n(1,age)</strong></blockquote><blockquote><strong>nobel_age %&gt;% top_n(1,desc(age))</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*u_GV3gimTcUdaWWfw29pKw.png" /></figure><p>Leonid Hurwicz won the Nobel prize at the age of 90 for Economics category in year 2007 thus,making the oldest member in the list to win the Nobel Prize.</p><p>Malala Yousafzai of Pakistan received the Nobel at just 17 for “<strong>struggle against the suppression of children and young people and the right of all children to Education</strong>” . The Nobel Prize which she received was a shared prize which she shared with the Indian ‘Children’s rights’ activist <a href="https://www.kailashsatyarthi.net/"><strong>Mr. Kailash Satyarthi</strong></a><strong>.</strong> “<a href="https://www.kailashsatyarthi.net/"><strong><em>Kailash Satyarthi</em></strong></a><strong><em> is a Nobel Peace Prize recipient and founder of Bachpan Bachao Andolan, Global March Against Child Labour, Global Campaign for Education</em>.</strong>”</p><p><strong><em>Thus, various insights can be gained from Data using Statistics and R. I tried answering some of the question but,questions can be many.</em></strong></p><p><strong><em>Happy Analyzing!!!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f3e350e2ded" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>