Seeing level α=0.8, it is easy to read an expectile as “the number below which 80% of the data fall.” That is the misunderstanding to avoid. Expectiles also move with α, but what they balance is the size of deviations on either side of the center; quantiles are driven mainly by order and position in the data.[1]

Take ten constructed numbers: 0, 0, 1, 1, 2, 2, 3, 4, 8, 15. Their mean is 3.6 and their median is 2. Treating each value with equal weight, the expectiles at α = 0.2, 0.5, and 0.8 are about 1.909, 3.6, and 6.563.

At α=0.2 the expectile is about 1.909; four numbers lie at or below it, or 40%, not 20%. At α=0.5 the expectile is the mean 3.6, and seven numbers are no larger than it—again not one half. So α here cannot be read directly as the sample share below the center.

The center stops where distances on both sides balance

Guess a center e. For each number above e, compute its distance to e; do the same for each number below e. An expectile multiplies the sum of upper distances by α and the sum of lower distances by 1−α, then seeks the e that makes the two sides equal.[1]

For values xᵢ and case weights wᵢ, that balance is written:

α Σ wᵢ(xᵢ−e)₊ = (1−α) Σ wᵢ(e−xᵢ)₊

where (z)₊ denotes the larger of z and 0. Here 0<α<1, case weights are nonnegative, and their sum is positive.[1]

For example at α=0.2 the center is about 1.909; 0.2 times the upper distance sum and 0.8 times the lower distance sum both equal about 4.509. The large values 8 and 15 are only two points, yet their longer distances still shift the balance. Counting how many points lie on each side is therefore not enough to obtain an expectile.

The same center can be read from a loss: square each deviation from a candidate center, weight upper squared deviations by α and lower ones by 1−α, and take the center that minimizes the total weighted loss—that is the expectile at that level. Larger α penalizes upper deviations relatively more, so the balancing center moves up or stays put.[1]

Three calculation panels showing asymmetric squared-loss curves, how the center moves with level, and a comparison after changing the maximum

Figure: with the ten constructed numbers fixed, minimize the asymmetric squared loss and compare expectiles with linearly interpolated quantiles; the right panel only changes the maximum from 15 to 45. Numbers shown are results from the constructed example.

Each curve on the left has its own minimum, the expectile at that α. Different α values change how the loss is weighted and scaled, so a lower curve minimum does not mean a better model. Choose which side's deviations to emphasize from the research question, then choose α.

Why 0.5 corresponds to the mean, not the median

When α=0.5, squared deviations on both sides receive equal weight. The quantity minimized is then ordinary total squared deviation, and the center returns to the mean—or to the weighted mean when case weights are present.[1] In this set the mean 3.6 exceeds the median 2, showing that larger values on the right pull the mean upward.

Quantiles minimize a different objective: asymmetric absolute-deviation loss, also called pinball loss. That loss tracks ordered positions rather than letting large deviations have a larger marginal effect, as squared loss does. For the same numbers with linear interpolation, the 0.2, 0.5, and 0.8 quantiles are 0.8, 2, and 4.8—different from the matching expectiles.

The size of one large value also moves the center

Keep the other nine numbers fixed and change only the maximum from 15 to 45. The three expectiles move from about 1.909, 3.6, and 6.563 to 3, 6.6, and 15.462; the three linearly interpolated quantiles in this constructed example remain 0.8, 2, and 4.8.

The reason sits in the distance-balance equation: 45 lies farther from the center, increasing the upper distance sum, so the center must move to rebalance. Expectiles are therefore sensitive to large extremes and must not be treated as centers as robust as the median. Unchanged quantiles in this example also do not imply that quantiles at every level are immune to extremes.

Do not confuse the two kinds of weight

α sets the relative weight of deviations above versus below the center; case weights wᵢ set how much each observation counts in the calculation. Returning to the original ten numbers, fix α=0.8 and raise the case weight on 15 from 1 to 3 while leaving the rest at 1; the expectile is about 9.571. That is equivalent to repeating 15 three times in the data; it is neither a change of α nor an increase of the numeric value 15.[1]

So when reading an expectile, first ask what relative cost α assigns to upper versus lower deviations, then how the data and case weights compose the distance balance. It is a point estimate defined by the chosen loss: 0.8 names an asymmetric trade-off, not automatically an 80% coverage rate or the tail probability of an event.

References

  1. [1] SciPy community. “scipy.stats.expectile.” SciPy v1.18.0 Manual.