Stock Markets Analysis and Opinion

Outlier Risk, Part V: Largest Difference From Average Value

2022.05.11 15:06

In recent updates to this series (see list below) I’ve been looking at various methodologies to identify extreme values in a time series, such as the S&P 500 Index.

One motivation for this analysis is that detecting so-called outlier values offers context for deciding if the risk of trend reversion is relatively high. Let’s add another metric to the tool-kit for this task: finding the value that marks the largest difference vs the average value over a trailing period.

As an illustration, we’ll use rolling 1-year returns for the S&P 500. The goal is to find the outlier on a rolling 5-year basis, i.e., the S&P 500 data point that represents the largest difference from the mean over the trailing window.

Sometimes this outlier is positive, sometimes negative, depending on the market’s performance in recent history. One application is that when the 1-year return matches or approaches this outlier, it marks a possible turning point and the trend reverses.

Graphing the data since 2000 suggests that this type of outlier analysis offers some value for marking turning points for one-year S&P returns. In several cases, when the one-year performance is close to or reaches the outlier, this point marks an extreme return that begins to reverse.

Outlier Risk, Part V: Largest Difference From Average ValueRolling 1-Yr Return V Outliers

For a clearer look at recent history let’s zoom in on results since 2018. Note that when the S&P 500 one-year return briefly exceeded 70% in March 2021, it was close to the upside outlier value for the past five years—an event that (with the benefit of hindsight) marked a peak for one-year performance.

Outlier Risk, Part V: Largest Difference From Average Value1 Year Return vs Outliers

The obvious caveat: this measure of outlier analysis isn’t perfect and so there’s always a degree of doubt about whether an apparent outlier event in real time is the genuine article for identifying a peak.

Nonetheless, this metric shows promise and can offer context when used with other analytics for monitoring and evaluating trend strength and the potential for reversals.

One area for further research: looking at multiple rolling windows for a more robust measure of outlier estimation.

Previous articles in this series:

  • Outlier Risk, Part I: boxplot and interquartile range
  • Outlier Risk, Part II: Z-score
  • Outlier Risk, Part III: Hampel filter/median absolute deviation
  • Outlier Risk, Part IV: Grubbs test

Source

Related Articles

Leave a Reply

Back to top button
bitcoin
Bitcoin (BTC) $ 68,952.47 2.29%
ethereum
Ethereum (ETH) $ 2,654.19 1.55%
tether
Tether (USDT) $ 1.00 0.04%
bnb
BNB (BNB) $ 602.37 1.73%
solana
Solana (SOL) $ 155.91 3.01%
usd-coin
USDC (USDC) $ 1.00 0.08%
xrp
XRP (XRP) $ 0.546747 0.80%
staked-ether
Lido Staked Ether (STETH) $ 2,654.07 1.61%
dogecoin
Dogecoin (DOGE) $ 0.140076 14.30%
tron
TRON (TRX) $ 0.159515 0.20%
the-open-network
Toncoin (TON) $ 5.25 1.18%
cardano
Cardano (ADA) $ 0.352319 1.69%
avalanche-2
Avalanche (AVAX) $ 27.94 1.59%
shiba-inu
Shiba Inu (SHIB) $ 0.000019 6.67%
wrapped-steth
Wrapped stETH (WSTETH) $ 3,132.63 1.42%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 68,783.43 2.26%
weth
WETH (WETH) $ 2,651.40 1.42%
bitcoin-cash
Bitcoin Cash (BCH) $ 367.50 0.01%
chainlink
Chainlink (LINK) $ 11.49 4.08%
polkadot
Polkadot (DOT) $ 4.29 1.75%
near
NEAR Protocol (NEAR) $ 4.91 3.55%
dai
Dai (DAI) $ 1.00 0.05%
sui
Sui (SUI) $ 2.13 4.09%
leo-token
LEO Token (LEO) $ 6.11 1.28%
uniswap
Uniswap (UNI) $ 7.49 1.94%
litecoin
Litecoin (LTC) $ 73.13 0.97%
aptos
Aptos (APT) $ 10.08 0.21%
pepe
Pepe (PEPE) $ 0.000011 6.39%
wrapped-eeth
Wrapped eETH (WEETH) $ 2,785.82 1.49%
bittensor
Bittensor (TAO) $ 588.07 0.99%
internet-computer
Internet Computer (ICP) $ 8.02 4.71%
fetch-ai
Artificial Superintelligence Alliance (FET) $ 1.43 3.52%
kaspa
Kaspa (KAS) $ 0.131288 4.68%
monero
Monero (XMR) $ 159.23 1.91%
blockstack
Stacks (STX) $ 1.94 2.96%
ethereum-classic
Ethereum Classic (ETC) $ 19.37 2.01%
stellar
Stellar (XLM) $ 0.096361 2.04%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.368407 0.85%
first-digital-usd
First Digital USD (FDUSD) $ 1.00 0.14%
dogwifcoin
dogwifhat (WIF) $ 2.68 5.73%
whitebit
WhiteBIT Coin (WBT) $ 17.68 5.62%
immutable-x
Immutable (IMX) $ 1.56 4.16%
ethena-usde
Ethena USDe (USDE) $ 1.00 0.22%
okb
OKB (OKB) $ 40.60 0.58%
aave
Aave (AAVE) $ 156.79 0.85%
filecoin
Filecoin (FIL) $ 3.74 1.52%
injective-protocol
Injective (INJ) $ 22.17 2.27%
optimism
Optimism (OP) $ 1.72 1.32%
crypto-com-chain
Cronos (CRO) $ 0.078432 0.36%
render-token
Render (RENDER) $ 5.41 3.39%