Round #1027
19 May 2026, 10:28· math· Meta-Llama-3.3-70B-Instruct· r13-clean-hints
- Complexity
- band 0
- ZP / UO / OBS
- 3 / 0 / 1
- Journey weight
- 332
- Lightshift ΔL
- —
Prompt
Compare and contrast the mean and the median as measures of central tendency. When is each preferred?
Zero-point index (what the engine surfaced)
ZPI-ZPI-0024 | 2026-05-19T10:28:25Z
Compare and contrast the mean and the median as measures of central tendency. When is each preferred?
ZERO POINT — 3 entries (structural invariants)
● hsl(191.58, 100%, 15%) arithmetic mean Σx_i / n [contract]
● hsl(175.07, 100%, 15%) median: middle value of ordered sample [contract]
● hsl(27.26, 100%, 15%) mode: most frequent value [contract]
UNOBSERVED — 0 entries (implied truths)
OBSERVED — 1 entries (explicit in request)
◉ hsl(37.95, 100%, 22%) when [feature]
COMPLEXITY │ 4 entries │ spread: 0° │ band: LOW
Baseline response (no ZPI)
**Mean vs Median: Measures of Central Tendency**
=====================================================
The mean and median are two commonly used measures of central tendency in statistics. While both measures aim to describe the central or typical value of a dataset, they differ in their calculation and application.
**Mean**
--------
* The mean, also known as the arithmetic mean, is calculated by summing all the values in a dataset and dividing by the number of values.
* It is sensitive to extreme values (outliers) and can be skewed by them.
* The mean is a good representation of the dataset when the data is normally distributed and there are no extreme values.
**Median**
---------
* The median is the middle value of a dataset when it is sorted in ascending or descending order.
* If the dataset has an even number of values, the median is the average of the two middle values.
* The median is more robust to extreme values (outliers) and is a better representation of the dataset when the data is skewed or has outliers.
**Comparison of Mean and Median**
-------------------------------
| | Mean | Median |
| --- | --- | --- |
| **Calculation** | Sum of values / Number of values | Middle value of sorted dataset |
| **Sensitivity to Outliers** | Sensitive | Robust |
| **Data Distribution** | Normally distributed | Skewed or has outliers |
| **Interpretation** | Average value | Typical or middle value |
**When to Use Each**
--------------------
* **Use the Mean:**
+ When the data is normally distributed and there are no extreme values.
+ When you want to calculate the average value of a dataset.
+ In statistical models that assume normality, such as regression analysis.
* **Use the Median:**
+ When the data is skewed or has outliers.
+ When you want to describe the typical or middle value of a dataset.
+ In non-parametric statistical tests, such as the Wilcoxon rank-sum test.
**Example Use Cases**
--------------------
* **Mean:** Calculate the average salary of a company's employees, assuming the salaries are normally distributed.
* **Median:** Calculate the median house price in a city, where the prices are skewed by a few very expensive houses.
In summary, the mean and median are both useful measures of central tendency, but they serve different purposes and are preferred in different situations. The mean is suitable for normally distributed data, while the median is more robust to extreme values and is preferred for skewed or outlier-prone data.
Enhanced response (with ZPI)
The mean and median are both measures of central tendency, but they differ in their calculation and suitability for different data sets. The mean, calculated as Σx_i / n, is sensitive to extreme values (outliers) and is preferred when the data is normally distributed and symmetric. In contrast, the median, which is the middle value of an ordered sample, is more robust to outliers and is preferred when the data is skewed or contains extreme values.
Here is a C# implementation that calculates both the mean and median of a given data set:
```csharp
using System;
using System.Linq;
public class CentralTendencyCalculator
{
public static double CalculateMean(double[] values)
{
return values.Sum() / values.Length;
}
public static double CalculateMedian(double[] values)
{
Array.Sort(values);
int middleIndex = values.Length / 2;
if (values.Length % 2 == 0)
{
return (values[middleIndex - 1] + values[middleIndex]) / 2;
}
else
{
return values[middleIndex];
}
}
}
```
In general, the mean is preferred when:
* The data is normally distributed and symmetric
* The data is continuous and interval-scaled
* The goal is to calculate a value that minimizes the sum of squared errors
On the other hand, the median is preferred when:
* The data is skewed or contains extreme values
* The data is ordinal or categorical
* The goal is to find a value that is representative of the "typical" value in the data set
Ultimately, the choice between the mean and median depends on the specific characteristics of the data and the goals of the analysis.
This explanation requires additional text to fully address the request.
Grader chain
Each grader reads the same baseline + enhanced pair and casts an independent verdict. Disagreement is the framework's own signal — not noise to be averaged away.
V1samba/Meta-Llama-3.3-70B-Instruct
BetterV4qwen2.5-coder-3b-instruct
BetterV5cerebras/qwen-3-235b-a22b-instruct-2507
WorseV7qwen2.5-coder-7b-instruct
BetterV8openai/gpt-4.1
BetterV9anthropic/claude-opus-4-7
WorseV12openai/gpt-4o
BetterComments
Our grader said what it said. What do you say? Comment as a guest below.
No comments yet. Be the first to say what you make of this round.