LoslegenKostenlos loslegen

Choose measures for center and spread

Consider the density plots shown here. What are the most appropriate measures to describe their centers and spreads? In this exercise, you'll select the measures and then calculate them.

Diese Übung ist Teil des Kurses

Exploratory Data Analysis in R

Kurs anzeigen

Anleitung zur Übung

Using the shapes of the density plots, calculate the most appropriate measures of center and spread for the following:

  • The distribution of life expectancy in the countries of the Americas. Note you'll need to apply a filter here.
  • The distribution of country populations across the entire gap2007 dataset.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Compute stats for lifeExp in Americas
gap2007 %>%
  filter(___) %>%
  summarize(___,
            ___)

# Compute stats for population
gap2007 %>%
  summarize(___,
            ___)
Code bearbeiten und ausführen