Exercise

# Centrality measures

The primary purpose of descriptive statistics is to provide **a summary of the data**.
Descriptive statistics might prove useful if you need to quickly get a grasp of the data at hand during the interview.

The most recognized types of descriptive statistics are **measures of central tendency**, also known as **centrality measures**.

In this exercise, you will work with the `cats`

dataset from the `MASS`

package.
The `cats`

dataset contains the following variables:

`Sex`

- sex,`Bwt`

- body weight, and`Hwt`

- heart weight

of domestic cats.

By calculating central tendency measures, you'll be able to answer questions about **the skewness** of the data.

Recall the relationship between **the mean** and **the median** in skewed distributions:

The dataset has been preloaded as `cats`

.

Instructions 1/3

**undefined XP**

- Calculate the mean of the
`Hwt`

variable from the`cats`

dataset. - Calculate the median of the
`Hwt`

variable from the`cats`

dataset.