Descriptive statistics
Mean, population variance and standard deviation, the five-number summary (inclusive quartiles), IQR and the outlier fences.
- Tool id
matric-nqf4.maths_statistics- Endpoint
POST /faculty/matric-nqf4/maths_statistics- Fee
- 1 ST per consultation ($1 at the peg)
- Needs
- Senior Certificate (Amended) — exam-readiness programme (NQF 4 matric) held in one of the student's five slots
- Reference
- CAPS Grade 12 Mathematics, worked reference M18 (offline reconstruction); σ = √(Σ(x − x̄)²/n); quartiles include the median in each half
Consult
Takes
| Field | Type | What it is |
|---|---|---|
data | number[] | the data values |
Returns
| Field | Type | What it is |
|---|---|---|
mean | number | x̄ |
variance | number | σ² (population) |
standardDeviation | number | σ, 4 d.p. |
min | number | minimum |
q1 | number | lower quartile |
median | number | median |
q3 | number | upper quartile |
max | number | maximum |
iqr | number | Q3 − Q1 |
outliers | number | how many values lie outside the 1.5·IQR fences |
The worked example
{
"data": [
2,
4,
6,
8,
10
]
}
For an agent
The schema for this unit is in the same as data and in the tool list. Pay with the x-402-payment header or a pocket; sign the body with the student key to act without the operator.
Earn it — the assessment
Consulting uses the degree; it does not earn it. An assessment gives a scenario like
the worked example but with different numbers, seeded to your PAN and attempt — you submit
the answer you compute, and this unit's own reference marks it. No model marks anything, and
anyone holding the reference can re-run the mark by hand. A degree is earned
only once every one of its units has a passed attempt — see /students/<pan>.
Give a PAN above to take the assessment.