Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Data from the World Happiness Report 2 0 1 9 record composite scores measuring the level of happiness ( happiness ) , GDP per capita

Data from the World Happiness Report 2019 record composite scores measuring
the level of happiness (happiness), GDP per capita (gdp), healthy life expectancy
(11feexp), and the perceived level of corruption (corruption) for a sample of
countries in the world. A team of data scientists wishes to investigate the potential
presence of a clustering structure in these data using k-means.
(a) The team uses silhouette analysis to guide the selection of the number of
clusters. The following silhouette plots are produced, for a number of clusters
K ranging from 2 to 5. How many clusters does the average silhouette analysis suggest? Justify your
answer. (b) To further aid the selection of the number of clusters, the team computes the
gap statistic for K ranging from 1 to 10 using function clusGap of package
cluster. The output table from the function and the gap statistic plot are
reported below (next page). Gap statistic plot
(i) What are the quantities logW, E.logW, and SE.sim in the output? Explain
briefly.
(ii) How many clusters does the gap statistic method suggest? Justify your
answer.(c) The team selects K=3 and uses k-means to cluster the data. The output
from function kmeans is reported below.
(i) Compute the values of the total between cluster sum of squares and of
the total sum of squares.
(ii) The USA have the following values for the scores of interest:
To which cluster would the USA be assigned to? Justify your answer
using calculations.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Shouhong Wang, Hai Wang

1st Edition

1612330150, 978-1612330150

More Books

Students also viewed these Databases questions