What is the difference between mean, mode, and median?
Mean, mode, and median are different types of averages. The mode is the most commonly occuring element in a sample. The median is the element occuring at the 50th percentile, or halfway through an ordered sample, and is therefore resistant to outliers. Mean is found by summing all of the values in a sample and dividing that total by the count of the items in the sample. Mean is perhaps the most common colloquial meaning of the word "average", but is less resistant to outliers than both mode and median.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------

----------------
Answer the following query.
What is the difference between mean, mode, and median?

user
Mean, mode, and median are different types of averages. The mode is the most commonly occuring element in a sample. The median is the element occuring at the 50th percentile, or halfway through an ordered sample, and is therefore resistant to outliers. Mean is found by summing all of the values in a sample and dividing that total by the count of the items in the sample. Mean is perhaps the most common colloquial meaning of the word "average", but is less resistant to outliers than both mode and median.
assistant