Session Ready
Exercise

Standardization one variable case

The Pokemon dataset contains many numeric variables that are measured in different scales and that have a long tail to one direction signifying the potential presence of outliers. One of those variables is speed, which measures the speed of different Pokemon.

Instructions
100 XP
  • Standardize the speed variable so that it has a mean equal to zero and unit variance using mean() and sd() and name it z_speed.
  • Summarize the results, comparing speed to z_speed.