liveBook · Manning

Skew

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A probability or empirical distribution that is asymmetric around its central tendency.

Skew describes an asymmetric distribution. A positively skewed target has a concentrated lump of values and a long tail extending to the right. In exploratory data analysis, comparing the minimum, mean, maximum, and selected percentiles reveals whether extreme values are distorting the apparent range. section 7.1.6

A practical check for skewed regression targets:

  • Inspect minimum, average, and maximum values. section 7.1.6
  • Compare extreme percentiles, especially the 95th, 99th, and maximum values. section 7.1.6
  • Plot the density and median to distinguish a long tail from a separate high-end cluster. section 7.1.6
  • If appropriate for the analysis, focus on the core range by filtering extreme lower and upper observations. section 7.1.6

Accommodation-price target

A target with a minimum of 1,450, an average of 36,573.1, and a maximum of 1,306,500 contains unusually large values. Its 99th percentile is 304,531.4, far below the maximum. After retaining values from 5,200 to 84,857, the density plot shows a right-skewed distribution and a possible small cluster of high-end accommodations. section 7.1.6

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Defines right skew and demonstrates diagnosis with summary statistics, percentiles, filtering, and density visualization.
Examples
Uses accommodation prices, percentile output, Boolean range selection, and a kernel density plot with a median marker.
What it assumes
Assumes basic exploratory data analysis and regression terminology while demonstrating target inspection from summary statistics onward.
What you can do after
Diagnose skew and extreme target values with summary statistics, percentiles, Boolean filtering, and density plots.
How it connects
Connects exploratory data analysis with target variables, percentiles, extreme values, density plots, and feature engineering.

Also explained in

Compare how 5 books explain skew →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.