## Day 1 Mean, Median, Mode, and Range

- The “
**mean**“ is the “average” you’re used to, where you add up all the numbers and then divide by the number of numbers. $\mu = \frac{\sum^n_i x_i}{n}$ - The “
**median**“ is the “middle” value in the list of numbers. To find the median, your numbers have to be listed in numerical order from smallest to largest, so you may have to rewrite your list before you can find the median. - The “
**mode**“ is the value that occurs most often.If no number in the list is repeated, then there is no mode for the list. - The “
**range**“ of a list a numbers is just the difference between the largest and smallest values. **Weighted Mean**: $\frac{\sum_i^N w_in_i}{\sum_i^N w_i}$

1 | import sys |

###

1 | import sys |