Local confidence
Local confidence is a measure from 0 to 1 of how likely a given price range is to be correct at a specific time, based on the distribution of active, stake-weighted bets.
It answers the question: "Given that a bet resolves at time x, what is the probability that the actual price will fall within a specific price range [y1, y2]?"
Local confidence is computed using the current market's kernel density estimate (KDE) of all outstanding bets, weighted by stake and linearly adjusted for decay (i.e. how long ago each bet was placed).
A vertical slice of the 2D KDE surface is taken at the desired time x.
This slice is normalized so that its total probability sums to 100% (i.e. the price must hit some value at time x).
The percentage of this probability mass that falls within the desired price range [y1, y2] is summed: this is the Local confidence value.
Underlying math:
Raw input data Each bet is defined by:
Resolution time
xᵢ
Price center
yᵢ
Stake size
sᵢ
Time since placed
tᵢ
Decay-adjusted weight Each bet’s influence decays over time:
Where:
sᵢ
is the stakerᵢ
is the decay rate (e.g. 1–10% daily)tᵢ
is time since placement in days
Kernel density estimation To estimate the smooth probability surface P(x, y):
Where:
K()
is a 2D Gaussian kernelZ
is a normalization constant
This gives us a continuous probability field over all time-price combinations.
Local confidence formula For a fixed time
x
, the Local confidence for a price range[y₁, y₂]
is:
Visually, local confidence looks like a heatmap style probability map as shown above.
Last updated