SlideShare a Scribd company logo
FINAL ASSIGMENT
SQL - Sports Stats
Nicolás Pacheco
CLIENT
■ For this module assignment I chose de Sports Stats database, ”, conformed by 120
years of Olympic data.
■ This dataset was selected because it is an area of personal interest and because I
consider there can be some interesting and curious observations to be made on a
dataset that wide.
■ This project will be an investigation/observation on the statistics of athlete events
and how some factors like the age, height, weight or country may be decisive
statistically on whether they win or not a medal. This is an investigation that might
be of general interest for sport fans and also to trainers or sports brands.
QUESTIONS, HYPOTHESES AND APPROACH
1.Does the sex and age of the participants affect their performance or their probability to win a medal
statistically?
-Age might be a factor that influences the probability of a participant winning a medal.
- I will be analyzing the Age, Sex and Medals columns mainly to make an analysis on
how these three rows are related. To take the investigation further I plan to include the
Year and Event column.
2.What countries show the best athlete performance throughout the years?
-Some countries like USA or Germany might have the best athletes.
-I will be looking primarily at the noc_regions table and the Years, Team, Medals, Season
and NOC columns from the athlete_events database.
3.Is there any relationship between the height and weight of the athlete and the sport they practice?
-There must be a relationship between the height and weight of the athletes with the sport
they practice
-I will be using the height, weight, sport, medal and event columns to prove or disprove the
hypotheses. I will average the height and weight of the athletes and choose some sports with
very different averages to analyze in detail the effect of the columns considered.
TECHINCAL CHALLENGES
■ For practicality manipulating the data a Jupyter Notebook was used, coding in python 3 using
the pandas and sqlite3 libraries to import and analyze the data.
■ When making some initial observations of the dataset it was noticed that some rows had Null
Height, Weight, Age or Medal values. The data is cleaned by deleting null rows, however, I
decided to leave the rows with null values on the ‘Medal’ column as it could be an aspect to
analyze later in the assignment as not all participants necessarily win a medal.
ENTITY RELATIONSHIP DIAGRAM (ERD)
INITIAL FINDINGS
■ A simple query is done to make an initial
observation on what the differences are
between sex and medals won.
■ Some initial observations are made on the
height and weight of the athletes grouped
by sports
DEEPER ANALYSIS
■ For the first question, I separated the data in
two frames of male and female athletes. For
each one I made a plot showing the quantity
of medals won grouped by age. After that, I
evaluated how long each group has been
participating in events, how many events in
total they have participated in and what is the
total amount of medals won.
■ It was discovered that in both sexes, the most significant amount of medals won lays
on athletes between the ages of 20 and 30. Also, it was noticed that male athletes
have won more medals, however, the first year with female athletes was almost 50
years after the first event with male athletes. This means that men have been
participating in events for more time than women which translates to more medals
won, but, if you analyze the quantity of events participated in vs the quantity of
medals won between both sexes, women actually show a better overall performance
winning medals.
■ For the second question a simple query was done to get the result of the countries
with most medals.
METRIC CREATED
■ For the third question, I developed a new metric to help find if there exists any correlation between
the height and weight of the athletes and the probability that they might win a medal.
■ For this, I averaged the height and weight of all athletes and grouped it by Sport, then I did the
same for only the athletes that have won a medal. After this, two new columns where added that
compare the results and show if there is any correlation between the height and weight and their
chance of winning a medal. Finally, these two columns where averaged to find the general
correlation considering all sports.
■ To go broader, the age variable was also added into the query, however, the results
showed that the average difference between the height, weight and age of regular
athletes and athletes who have won a medal is so small that there is apparently no
significant correlation.
FINAL FINDINGS
■ The first hypotheses was proved to be true as it was found a correlation between the
age and athletes who have won medals. It was also discovered what genre of
athletes show the best overall performance.
■ For the second question, it was observed which countries posses the most medals.
■ For the last question, the initial hypotheses was incorrect. Through the metric
created it was observed that there is no apparent correlation between the average
overall difference in height, weight and age between regular athletes and athletes
who have won a medal. However, as this is a general observation and result, and
investigation done more precisely focusing on a specific sport might show different
results.

More Related Content

Similar to Final assigment

“An analytical study on medal tally of top ten countries in 2012 Olympic Game...
“An analytical study on medal tally of top ten countries in 2012 Olympic Game...“An analytical study on medal tally of top ten countries in 2012 Olympic Game...
“An analytical study on medal tally of top ten countries in 2012 Olympic Game...
IOSR Journals
 
CSEC Mathematics - Sample SBA
CSEC Mathematics - Sample SBACSEC Mathematics - Sample SBA
CSEC Mathematics - Sample SBA
Ethan Dockery
 
Details about visualization
Details about visualizationDetails about visualization
Details about visualization
TejalNijai
 
Lower body flexibilty's affect on speed
Lower body flexibilty's affect on speedLower body flexibilty's affect on speed
Lower body flexibilty's affect on speed
georgiashorttt
 
Unit 5 power point
Unit 5 power pointUnit 5 power point
Unit 5 power point
georgiashorttt
 
10 min summit - usher 1
10 min   summit - usher 110 min   summit - usher 1
10 min summit - usher 1
wusher
 
Go online and look at the various meanings of the term ‘security p.docx
Go online and look at the various meanings of the term ‘security p.docxGo online and look at the various meanings of the term ‘security p.docx
Go online and look at the various meanings of the term ‘security p.docx
shericehewat
 
The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...
The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...
The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...Andre Williams
 
Week 4 assignment
Week 4 assignmentWeek 4 assignment
Week 4 assignment
RickB9
 
Math Statistics Essay
Math Statistics EssayMath Statistics Essay
Math Statistics Essay
ThesisPapersForSaleM
 
NCAA PR Audit
NCAA PR AuditNCAA PR Audit
NCAA PR Audit
mlarosa4
 
NCAA PR Audit
NCAA PR AuditNCAA PR Audit
NCAA PR Audit
mlarosa4
 
Research project
Research projectResearch project
Research project
brookemarshall
 
H0213337
H0213337H0213337
H0213337
IOSR Journals
 
fitness test.pptx
fitness test.pptxfitness test.pptx
fitness test.pptx
ethiohelthandsportin
 
Influencing factors upon the reliability of physical proficiency test
Influencing factors upon the reliability of physical proficiency testInfluencing factors upon the reliability of physical proficiency test
Influencing factors upon the reliability of physical proficiency test
IOSR Journals
 
“Relationship of Kinematic Variables with the Performance of Standing Broad J...
“Relationship of Kinematic Variables with the Performance of Standing Broad J...“Relationship of Kinematic Variables with the Performance of Standing Broad J...
“Relationship of Kinematic Variables with the Performance of Standing Broad J...
IOSR Journals
 
Unit 5 Project
Unit 5 ProjectUnit 5 Project
Unit 5 Project
maddyburnage
 

Similar to Final assigment (20)

“An analytical study on medal tally of top ten countries in 2012 Olympic Game...
“An analytical study on medal tally of top ten countries in 2012 Olympic Game...“An analytical study on medal tally of top ten countries in 2012 Olympic Game...
“An analytical study on medal tally of top ten countries in 2012 Olympic Game...
 
CSEC Mathematics - Sample SBA
CSEC Mathematics - Sample SBACSEC Mathematics - Sample SBA
CSEC Mathematics - Sample SBA
 
Details about visualization
Details about visualizationDetails about visualization
Details about visualization
 
Lower body flexibilty's affect on speed
Lower body flexibilty's affect on speedLower body flexibilty's affect on speed
Lower body flexibilty's affect on speed
 
Unit 5 power point
Unit 5 power pointUnit 5 power point
Unit 5 power point
 
10 min summit - usher 1
10 min   summit - usher 110 min   summit - usher 1
10 min summit - usher 1
 
Go online and look at the various meanings of the term ‘security p.docx
Go online and look at the various meanings of the term ‘security p.docxGo online and look at the various meanings of the term ‘security p.docx
Go online and look at the various meanings of the term ‘security p.docx
 
The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...
The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...
The Effect of RAT on Wages for Professional Basketball Players 0505.docx upda...
 
Week 4 assignment
Week 4 assignmentWeek 4 assignment
Week 4 assignment
 
Math Statistics Essay
Math Statistics EssayMath Statistics Essay
Math Statistics Essay
 
NCAA PR Audit
NCAA PR AuditNCAA PR Audit
NCAA PR Audit
 
NCAA PR Audit
NCAA PR AuditNCAA PR Audit
NCAA PR Audit
 
Research project
Research projectResearch project
Research project
 
H0213337
H0213337H0213337
H0213337
 
Relationship of selected physical fitness variables with the performance of m...
Relationship of selected physical fitness variables with the performance of m...Relationship of selected physical fitness variables with the performance of m...
Relationship of selected physical fitness variables with the performance of m...
 
fitness test.pptx
fitness test.pptxfitness test.pptx
fitness test.pptx
 
Influencing factors upon the reliability of physical proficiency test
Influencing factors upon the reliability of physical proficiency testInfluencing factors upon the reliability of physical proficiency test
Influencing factors upon the reliability of physical proficiency test
 
“Relationship of Kinematic Variables with the Performance of Standing Broad J...
“Relationship of Kinematic Variables with the Performance of Standing Broad J...“Relationship of Kinematic Variables with the Performance of Standing Broad J...
“Relationship of Kinematic Variables with the Performance of Standing Broad J...
 
Article Critique
Article CritiqueArticle Critique
Article Critique
 
Unit 5 Project
Unit 5 ProjectUnit 5 Project
Unit 5 Project
 

Recently uploaded

The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Subhajit Sahu
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
u86oixdj
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 

Recently uploaded (20)

The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 

Final assigment

  • 1. FINAL ASSIGMENT SQL - Sports Stats Nicolás Pacheco
  • 2. CLIENT ■ For this module assignment I chose de Sports Stats database, ”, conformed by 120 years of Olympic data. ■ This dataset was selected because it is an area of personal interest and because I consider there can be some interesting and curious observations to be made on a dataset that wide. ■ This project will be an investigation/observation on the statistics of athlete events and how some factors like the age, height, weight or country may be decisive statistically on whether they win or not a medal. This is an investigation that might be of general interest for sport fans and also to trainers or sports brands.
  • 3. QUESTIONS, HYPOTHESES AND APPROACH 1.Does the sex and age of the participants affect their performance or their probability to win a medal statistically? -Age might be a factor that influences the probability of a participant winning a medal. - I will be analyzing the Age, Sex and Medals columns mainly to make an analysis on how these three rows are related. To take the investigation further I plan to include the Year and Event column. 2.What countries show the best athlete performance throughout the years? -Some countries like USA or Germany might have the best athletes. -I will be looking primarily at the noc_regions table and the Years, Team, Medals, Season and NOC columns from the athlete_events database. 3.Is there any relationship between the height and weight of the athlete and the sport they practice? -There must be a relationship between the height and weight of the athletes with the sport they practice -I will be using the height, weight, sport, medal and event columns to prove or disprove the hypotheses. I will average the height and weight of the athletes and choose some sports with very different averages to analyze in detail the effect of the columns considered.
  • 4. TECHINCAL CHALLENGES ■ For practicality manipulating the data a Jupyter Notebook was used, coding in python 3 using the pandas and sqlite3 libraries to import and analyze the data. ■ When making some initial observations of the dataset it was noticed that some rows had Null Height, Weight, Age or Medal values. The data is cleaned by deleting null rows, however, I decided to leave the rows with null values on the ‘Medal’ column as it could be an aspect to analyze later in the assignment as not all participants necessarily win a medal.
  • 6. INITIAL FINDINGS ■ A simple query is done to make an initial observation on what the differences are between sex and medals won. ■ Some initial observations are made on the height and weight of the athletes grouped by sports
  • 7. DEEPER ANALYSIS ■ For the first question, I separated the data in two frames of male and female athletes. For each one I made a plot showing the quantity of medals won grouped by age. After that, I evaluated how long each group has been participating in events, how many events in total they have participated in and what is the total amount of medals won.
  • 8. ■ It was discovered that in both sexes, the most significant amount of medals won lays on athletes between the ages of 20 and 30. Also, it was noticed that male athletes have won more medals, however, the first year with female athletes was almost 50 years after the first event with male athletes. This means that men have been participating in events for more time than women which translates to more medals won, but, if you analyze the quantity of events participated in vs the quantity of medals won between both sexes, women actually show a better overall performance winning medals.
  • 9. ■ For the second question a simple query was done to get the result of the countries with most medals.
  • 10. METRIC CREATED ■ For the third question, I developed a new metric to help find if there exists any correlation between the height and weight of the athletes and the probability that they might win a medal. ■ For this, I averaged the height and weight of all athletes and grouped it by Sport, then I did the same for only the athletes that have won a medal. After this, two new columns where added that compare the results and show if there is any correlation between the height and weight and their chance of winning a medal. Finally, these two columns where averaged to find the general correlation considering all sports.
  • 11.
  • 12. ■ To go broader, the age variable was also added into the query, however, the results showed that the average difference between the height, weight and age of regular athletes and athletes who have won a medal is so small that there is apparently no significant correlation.
  • 13. FINAL FINDINGS ■ The first hypotheses was proved to be true as it was found a correlation between the age and athletes who have won medals. It was also discovered what genre of athletes show the best overall performance. ■ For the second question, it was observed which countries posses the most medals. ■ For the last question, the initial hypotheses was incorrect. Through the metric created it was observed that there is no apparent correlation between the average overall difference in height, weight and age between regular athletes and athletes who have won a medal. However, as this is a general observation and result, and investigation done more precisely focusing on a specific sport might show different results.