# Algebra/Statistics

## Percentages[edit]

Percentages are another way of representing rational numbers. Rational numbers can be represented as decimals, fractions or percentages.

Percent, when you actually break the word apart, consists of two words: per and cent. Per is a small but extremly powerful word. It means "to divide". Cent is a Latin word for 100. Percent, then, means "divide by 100".

To convert from a fraction to a percentage, we simply multiply the fraction by 100. For example, .

To convert from a decimal to a percentage, we first convert the decimal into a fraction, and then proceed with the approach outlined above. For example, .

## Mean, Median, Mode[edit]

The following three numbers represent 3 different ways to think about the average value of your set.

**Mean** - This is what we usually think of as the "average" of a data set. The mean can be found by summing all the values in the data set and dividing by the size of the data set (that is number of elements in the set). In mathematical notation,

, where is the arithmetic mean, and n is the number of elements in the data set. All values of x together constitute the *sample space* for the data set.

*For example*: Suppose 1, 2, 4, 6, 8, 9 is our data set then the sum is 1 + 2 + 4 + 6 + 8 + 9 = 30 and there are 6 elements in the data set, so the mean is 30/6 = 5.

The mean, while a very useful statistic, has its flaws. Notably, its value may be heavily influenced by *outliers* - numbers in a data set which are significantly higher or lower than the majority of the data. It is often preferable to use the median instead to describe such data sets.

**Median** - This is the middle of our data set. To find the median you must first put your data values in numerical order (say, from smallest to largest). If you have an odd number of elements in your data set there will be exactly one number in the middle, this number is the median. If you have an even number of elements in your data set then the median is the average of the *middle two* numbers. et *For example.* If our data set was 2, 2, 3, 4, 4, 5, 6, 7, 8, 9, 12, 13, 16, 22 is our data s data set. Since it has an even number of elements, we have to take the mean of the middle two, in this case 6 and 7, so the median is 6.5.

**Mode** - Mode refers to how many times a number or numbers occur in a data set. Since mean, median, and mode often are confused with each other, an easy way to remember mode is 'most often'. The first two letters in mode are 'm' and 'o', imagine this stands for 'most often' to help you remember. In the case that two or more different values are tied for the most number of repeats then that data set is said to have multiple modes. If your asked to find the mode of a data set with multiple modes, then all of the modes should be listed. If no element of the data repeats, then there is no mode.

*For example*. Suppose 1, 2, 2, 2, 3, 3, 4, 5, 5, 5, 7 is our data set, then the mode would be both 2 and 5. They both occur three times and three is the maximum number of repeats in our data set.

The following quantity tell us how spread out our data set is.

**Range** - The difference between the largest and smallest numbers in our data set. Notice this means the range is *never* negative.

### Examples[edit]

**Mean**

Let's look at the following data set:

Data Values: 10, 13, 4, 7, 9 so n = 5

Now add the values together:

10 + 13 + 4 + 7 + 9 = 43

43 / 5 = 8.6

*Mean = 8.6*

**Median**

__Case 1:__

Data Values: 10, 13, 4, 7, 8 so n = 5

Numerical Order: 4, 7, **8**, 13, 10

Since 8 is the middle number,

*Median = 8*

__Case 2:__

Data Values: 10, 13, 4, 7, 8, 10 so n = 6

Numerical Order: 4, 7, **8**, **10**, 10, 13

Middle Numbers: 8 and 10

Find Mean: 8 + 10 = 18

18 / 2 = 9

*Median = 9*

**Mode**

Data Values: 10, 13, 4, 7, 8, 10

10 is in the data set twice.

*Mode = 10*

Data Values: 4, 9, 13, 18, 4, 2, 9, 4, 13, 8, 9

4 and 9 both have three data values.

*Mode = 4, 9*

**Range**

Data Values: 10, 13, 4, 7, 8

Numerical Order: 4, 7, 8, 10, 13

Difference of last and first: 13 - 4 = 9

*Range = 9*

### Practice Problems[edit]

Find the mean, median, mode, and range of the following data sets:

1.) 5, 8, 12, 4, 8, 9, 11, 2

2.) 24, 26, 37, 24, 16, 44, 26, 34, 24

3.) 15, 48, 89, 74, 25, 36, 57, 51, 17, 22

4.) 2, 6, 8, 7, 8, 2, 2, 9, 10

### Answers[edit]

1.) Mean = 7.375 Median = 8 Mode = 8 Range = 10

2.) Mean = 28.33 Median = 26 Mode = 24 Range = 28

3.) Mean = 43.4 Median = 42 Mode = None Range = 74

4.) Mean = 6 Median = 7 Mode = 2 Range = 8