The Shainin technique is a problem-solving methodology used for quality improvement. It involves defining the problem, quantifying it, generating clues, performing experiments in repeated trials to evaluate the problem when "on" and "off", and establishing new tolerances to fix improvements. Variability is applied within a unit, across similar units, and over time by comparing best and worst samples to find differences in medians and experiment ranges and identify the exact cause.