Professional Documents
Culture Documents
DS Assignment
DS Assignment
Roll No -1811293
[Section - D]
EXERCISE 1
Part 1 & 2
Variables Explored : Median Age of countries
Objective: Analyse the median age of residents of different countries and relating with HDI
Descriptive Stats
Parameter Values (Median Age)
Mean 29.72
Standard Error 0.66
Median 28.60
Mode 19.70
Standard Deviation 8.77
Sample Variance 76.97
Kurtosis -1.17
Skewness 0.20
Range 31.90
Minimum 15.40
Maximum 47.30
Sum 5319.30
Count 179.00
Largest(50) 36.50
Smallest(50) 23.00
Observation: Median age of the world is 28.6 years (If countries have been given equal
weightage, regardless of population) Range of the median age is 31.90 years. With minimum
and maximum age being 15.40 and 47.30 years, which is a huge variation.
Observation: As we can see from the box plot, there are no outliers.
No of Countries
40
35 y = -0.4708x5 + 8.9962x4 - 63.752x3 + 205.88x2 - 298.16x + 182.57
35 33 R² = 0.995 33
29
30
26
No of Contries
25
20
20
15
10
5 3
0
15-20 20-25 25-30 30-35 35-40 40-45 45-50
Median Age
Observation: Maximum countries lie in the range of 15-20 years age bracket.
40% 31.32%
26.54%
54.43%
20% 40.29%
21.98% 26.78%
0%
Very Hi gh High Medium Low
HDI
45
40
y = 45.264x2 - 11.247x + 14.364
35 R² = 0.7746
Median Age
30
25
20
15
10
5
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
HDI
Observation: As we can see from the above graphs, the median age of countries increases
with increase in HDI. Coefficient of determination is 0.7746 for polynomial relation with
degree 2.
The reason for this could be better life style, low death rate , better medical facilities, in
highly developed countries wrt to less developed countries. Although we require more
detailed analysis to ascertain the fact.
Data
1. Population Data:
https://esa.un.org/unpd/wpp/Download/Standard/Population/
2. GDP/Capita Data:
http://data.un.org/Data.aspx?q=GDP+per+capita&d=SNAAMA&f=grID%3a101%3bcurrID%3aUSD%3bpcFlag%3a1
3. HDI Data:
http://hdr.undp.org/en/composite/HDI
Part 3
Question 48 Solution:
Question 50 Solution:
Rating Frequency
Poor 4
Below Average 8
Average 11
Above Average 14
Excellent 13
Total Response 50