Part II. Short-Answer Questions. Problem II. Questions 20-2…
Part II. Short-Answer Questions. Problem II. Questions 20-25: Unsupervised learning: Clustering. Unsupervised learning: data(LifeCycleSavings) for Clustering. Please answer each question and copy/paste all your R code in the end. Please make sure that you have installed the R package “fpc” and “factoextra”. The “LifeCycleSavings” dataset contains macroeconomic savings data across 50 countries. The variables include savings ratio (sr), percentage of population under 15 (pop15), percentage over 75 (pop75), per-capita disposable income (dpi), and percent growth rate of dpi (ddpi). Now use your M# as seed, randomly sample 90% of data and call it “data1”. Please use your “data1” for all questions below. Question 20: Obtain summary statistics for data1. Please screenshot your output here.
Read Details