# Mean The mean is a measure of spread that takes the sum of all of the values and then divides that sum by the count of values that were aggregated. This measure of spread is sensitive to outliers as the sum can be skewed by very large values and can pull the distribution curve. $mean = \frac{\sum x}{n}$ If you are measuring the mean for an entire population $\mu$ and not a sample then it is not an estimate but typically a sample $\bar x$ is used. The mean for a sample of the population is denoted by the 'x-bar' symbol : $\bar x$ (sample mean, estimated mean), for population mean the Greek (mu) symbol is utilized: $\mu$ # Documentation <center> <iframe width="560" height="315" src="https://www.youtube.com/embed/SzZ6GpcfoQY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </center> # Code ```r mean(x) ``` References: - [[Median]] - [[Mode]]