SlideShare a Scribd company logo
1 of 13
Download to read offline
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 SBAEthan Dockery
 
Details about visualization
Details about visualizationDetails about visualization
Details about visualizationTejalNijai
 
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 speedgeorgiashorttt
 
10 min summit - usher 1
10 min   summit - usher 110 min   summit - usher 1
10 min summit - usher 1wusher
 
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.docxshericehewat
 
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 assignmentRickB9
 
NCAA PR Audit
NCAA PR AuditNCAA PR Audit
NCAA PR Auditmlarosa4
 
NCAA PR Audit
NCAA PR AuditNCAA PR Audit
NCAA PR Auditmlarosa4
 
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 testIOSR 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
 

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

Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"John Sobanski
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token PredictionNABLAS株式会社
 
Chapter 1 - Introduction to Data Mining Concepts and Techniques.pptx
Chapter 1 - Introduction to Data Mining Concepts and Techniques.pptxChapter 1 - Introduction to Data Mining Concepts and Techniques.pptx
Chapter 1 - Introduction to Data Mining Concepts and Techniques.pptxkusamee0
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证pwgnohujw
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...siskavia95
 
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Voces Mineras
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationmuqadasqasim10
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...yulianti213969
 
Solution manual for managerial accounting 8th edition by john wild ken shaw b...
Solution manual for managerial accounting 8th edition by john wild ken shaw b...Solution manual for managerial accounting 8th edition by john wild ken shaw b...
Solution manual for managerial accounting 8th edition by john wild ken shaw b...rightmanforbloodline
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunksgmuir1066
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshareraiaryan448
 
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...mikehavy0
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Valters Lauzums
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...Amil baba
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证acoha1
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesBoston Institute of Analytics
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024patrickdtherriault
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样jk0tkvfv
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...ThinkInnovation
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...ThinkInnovation
 

Recently uploaded (20)

Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"Aggregations - The Elasticsearch "GROUP BY"
Aggregations - The Elasticsearch "GROUP BY"
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Chapter 1 - Introduction to Data Mining Concepts and Techniques.pptx
Chapter 1 - Introduction to Data Mining Concepts and Techniques.pptxChapter 1 - Introduction to Data Mining Concepts and Techniques.pptx
Chapter 1 - Introduction to Data Mining Concepts and Techniques.pptx
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di  Ban...
obat aborsi Banjarmasin wa 082135199655 jual obat aborsi cytotec asli di Ban...
 
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
Las implicancias del memorándum de entendimiento entre Codelco y SQM según la...
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
 
Solution manual for managerial accounting 8th edition by john wild ken shaw b...
Solution manual for managerial accounting 8th edition by john wild ken shaw b...Solution manual for managerial accounting 8th edition by john wild ken shaw b...
Solution manual for managerial accounting 8th edition by john wild ken shaw b...
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
Abortion Clinic in Kempton Park +27791653574 WhatsApp Abortion Clinic Service...
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024Northern New England Tableau User Group (TUG) May 2024
Northern New England Tableau User Group (TUG) May 2024
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 

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.