Central tendency measures give us an idea of where the center – i.e., most of the data – of a set of observations lies.
Common measures include the sample mean, sample median, and sample mode.
2024
Central tendency measures give us an idea of where the center – i.e., most of the data – of a set of observations lies.
Common measures include the sample mean, sample median, and sample mode.
The sample mean is denoted by \(\overline{\boldsymbol{x}}\).
It is the average of all observations in a sample.
\[ \begin{align} \overline{\boldsymbol{x}} &= \frac{x_1 + x_2 + \ldots + x_{n}}{n}\\ &= \frac{1}{n} \sum_{i=1}^{n} x_{i} \end{align} \]
Sample \(\boldsymbol{x} = 55 + 35 + 23 + 44 + 31\)
The sample mean is: \[ \begin{align} \overline{\boldsymbol{x}} &= \frac{55 + 35 + 23 + 44 + 31}{5}\\ &= \frac{188}{5}\\ &= 37.6 \end{align} \]
mean
function in R# define a vector of observations x <- c(55, 35, 23, 44, 31) # calculate the mean mean(x)
## [1] 37.6
The sample median is denoted by \(\widetilde{\boldsymbol{x}}\).
It is the middle value of a dataset when ordered from least to greatest.
For an even number of observations, it’s the average of the two middle numbers.
Sample \(\boldsymbol{x} = 55, 35, 23, 44, 31\)
Ordered sample \(\boldsymbol{x} = 23, 31, 35, 44, 55\)
The sample median is: \[ \begin{align} \widetilde{\boldsymbol{x}} &= 35 \end{align} \]
Sample \(\boldsymbol{x} = 55, 35, 23, 44\)
Ordered sample \(\boldsymbol{x} = 23, 35, 44, 55\)
The sample median is: \[ \begin{align} \widetilde{\boldsymbol{x}} &= \frac{35 + 44}{2}\\ &= 39.5 \end{align} \]
median
function in R# define a vector of observations x <- c(55, 35, 23, 44, 31) # calculate the median median(x)
## [1] 35
The sample mode is the most frequently occurring value in the dataset.
A dataset may have one mode, more than one mode, or no mode at all.
Sample \(\boldsymbol{x} = 55, 35, 23, 44, 31, 55, 55\)
The sample mode is: \[ \begin{align} \text{mode}(\boldsymbol{x}) &= 55 \end{align} \]
Sample \(\boldsymbol{x} = 55, 35, 23, 44, 31, 55, 55, 35, 35\)
The sample mode is: \[ \begin{align} \text{mode}(\boldsymbol{x}) &= 55, 35 \end{align} \]
Sample \(\boldsymbol{x} = 55, 35, 23, 44, 31\)
The sample mode is: \[ \begin{align} \text{mode}(\boldsymbol{x}) &= \text{No mode} \end{align} \]
Consider the following histrogram of a sample of data:
Which of the following statements is true?
Consider the following histogram of a sample of data:
Which of the following statements is true?