University of Technology Sydney · FACULTY OF BUSINESS ANALYTICS

22576 Chap.4 Descriptive Statistics, Anomalies and Normalisation

- one subject, every graph, every model, every mark
6 Chapters5-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 4 of 11 · 22576

Descriptive Statistics, Anomalies and Normalisation

Week 3 turns descriptive analytics on the data itself to find anomalies. The chapter covers measures of location and spread, quartiles and the interquartile range, covariance and correlation, and the charts that suit one variable or two.

It then separates data quality problems from anomalies, shows how box plots and z-scores flag outliers, and explains when to trim, winsorise, log-transform or standardise a variable, and why every treatment must be rechecked afterwards.

The chapter also connects these checks to later weeks.

Correlation analysis supports feature selection in Week 4 and warns of multicollinearity in Week 7, while the normalised variables created here feed the clustering and regression models that follow. Getting the descriptive work right first saves models from being distorted by a single extreme value or a heavily skewed input.

In this chapter

What this chapter covers

  • 01

    Mean, median and mode, and when each misleads

  • 02

    Range, variance, standard deviation and quartiles

  • 03

    Correlation and feature selection

  • 04

    Bar charts, histograms, box plots and scatter plots

  • 05

    Outliers by the 1.5 × IQR rule and by z-scores

  • 06

    Trimming, winsorisation, log and z-score normalisation

Worked example · free

Test whether 48 daily orders is an outlier

Q [4 marks]. Daily orders over eleven days were 12, 14, 15, 15, 16, 18, 19, 20, 21, 23 and 48, with a mean of 20.09 and a standard deviation of 9.82. Using inclusive quartiles, apply the 1.5 × IQR rule and the rule that z above 3 signals an outlier. These marks are our own practice weighting, not the University's official allocation.
Box plot of the eleven daily order counts in the worked example: the box covers the middle half from 15 to 20.5 with the median at 18, the whiskers stop at 12 aBox plot of the eleven daily order counts in the worked example: the box covers the middle half from 15 to 20.5 with the median at 18, the whiskers stop at 12 and 23, and the value 48 lies beyond the upper fence of 28.75, so it is flagged as an outlier.01020304050orders per dayfence 28.75fence 6.7548IQR 15 to 20.5
Box plot of the eleven daily order counts in the worked example: the box covers the middle half from 15 to 20.5 with the median at 18, the whiskers stop at 12 and 23, and the value 48 lies beyond the upper fence of 28.75, so it is flagged as an outlier.
  • 1Quartiles: Q1 = 15, median = 18, Q3 = 20.5, so IQR = 5.5.
  • 1Upper fence: 20.5 + 1.5 × 5.5 = 28.75; since 48 is above it, the IQR rule flags an outlier.
  • 1z-score: (48 − 20.09) ÷ 9.82 = 2.84, which is below 3, so the z rule does not flag it.
  • 1The extreme value inflates the mean and standard deviation it is judged against, so the quartile-based rule is more robust here.
Outlier by the IQR rule, not by the z rule; report the rule and cut-off you used.
Sia tip — When the z-score and the box plot disagree on a small sample, trust the box plot and say why.
Glossary

Key terms

Standard deviation
The typical distance of values from their mean, the square root of the variance.
Correlation coefficient
A standardised measure of linear association from −1 to 1, showing strength and direction.
Box plot
A chart of minimum, Q1, median, Q3 and maximum, with points beyond the whiskers shown as outliers.
Skewness
A measure of how asymmetric a distribution is about its mean.
Z-score normalisation
Rescaling a variable so that its average becomes zero and its spread becomes one standard deviation.
Trimming
An outlier treatment that deletes values beyond a threshold, suited to erroneous data.
FAQ

Descriptive Statistics, Anomalies and Normalisation FAQ

When is the median better than the mean?

When the data are skewed or contain outliers. A few very large values pull the mean towards them, so it can sit above most observations, while the median stays with the typical case. Summary tables report both, and a large gap between them is itself a sign of skew.

Should an outlier be deleted or winsorised?

It depends on its cause. Trimming suits values that are errors, such as a mistyped amount. Winsorisation suits genuine extreme events, such as a record promotional day, because it keeps the observation but caps its influence. Investigate the value before choosing, and record the decision.

When should I use a log transformation?

For heavily right-skewed positive data, such as income or price, where the natural log pulls in the long tail. Use ln(x + 1) when there are zeros. Avoid it for negative values and for left-skewed data, which it makes more skewed; z-score standardisation suits those cases.

What is the difference between a data quality issue and an anomaly?

A quality check asks whether the data are accurate, complete, consistent and fit for use. Anomaly detection asks whether, even with reliable data, some observations or patterns are unusual, such as an extreme value, a skewed shape or two peaks. Both are reported, but they call for different treatments.

Why does correlation not prove causation?

Two variables can move together because a third factor drives both, or by coincidence, so a strong correlation shows association only. The workshop stresses this point, and it matters again in regression, where a coefficient from historical data is also an association rather than proof of cause.

Study strategy

Assessment move

Compute quartiles, fences and a z-score by hand for a short list, then repeat in KNIME with the Statistics view and the Numeric Outliers node and compare. Draw the box plot yourself once; after that, reading one in a quiz takes seconds. Then compare a histogram before and after a log transformation of a right-skewed tutorial variable, and describe the change in one sentence.

Working through Descriptive Statistics, Anomalies and Normalisation in 22576? Sia is AskSia’s AI Business Analytics tutor — ask any 22576 Descriptive Statistics, Anomalies and Normalisation question and get a clear, step-by-step explanation grounded in how 22576 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 35 of your University of Technology Sydney subjects - and 1,000+ Bibles across every Australian university.
Sia - your 22576 tutor, unlimited, worked the way the exam marks it
The full 5-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works