2019-06-05 11:57:05 -04:00
% -*- root: main.tex -*-
\section { Analysis}
\label { sec:analysis}
We begin the analysis by showing that with high probability an estimate is approximately $ \numWorldsP $ , where $ p $ is the probability measure for a given TIPD. Note that $$ \numWorldsP = \numWorldsSum . $$
The first step is to show that the expectation of the estimate of a tuple t's membership across all worlds is $ \numWorldsSum $ .
\begin { align}
& \expect \big [\estimate\big] \\
=& \expect \big [\estExpOne\big] \\
=& \expect \big [\sum_{\substack{j \in [B] ,\\
\wVec \in \pw ~|~ \sketchHash { i} [\wVec ] = j,\\
\wVec [w'] \in \pw ~|~ \sketchHash { i} [\wVec [w'] ] = j} } v_ t[\wVec ] \cdot s_ i[\wVec ] \cdot s_ i[\wVec [w'] ]\big ]\\
=& \expect \big [ \sum_{\substack{j \in [B] ,\\
\wVec ~|~\sketchHashParam { \wVec } = j,\\
\wVecPrime ~|~\sketchHashParam { \wVecPrime } = j,\\
\wVec = \wVecPrime } } \wIndParam { \wVec } \cdot \polarFunc { \wVec } \cdot \polarFunc { \wVecPrime } + \nonumber \\
& \phantom { { } \wIndParam { \wVec } } \sum _ { \substack { j \in [B], \\
\wVec ~|~\sketchHashParam { \wVec } = j,\\
\wVecPrime ~|~ \sketchHashParam { \wVecPrime } = j,\\ \wVec \neq \wVecPrime } } \wIndParam { \wVec } \cdot \polarFunc { \wVec } \cdot \polarFunc { \wVecPrime } \big ]\textit { (by linearity of expectation)} \\
=& \expect \big [ \sum_{\substack{j \in [B] ,\\
\wVec ~|~\sketchHashParam { \wVec } = j,\\
\wVecPrime ~|~\sketchHashParam { \wVecPrime } = j,\\
\wVec = \wVecPrime } } \wIndParam { \wVec } \cdot \polarFunc { \wVec } \cdot \polarFunc { \wVecPrime } \big ] \nonumber \\
& \phantom { { } \big [} \textit { (by uniform distribution in the second summation)} \\
& = \sum _ { \substack { j \in [B],\\
\wVec ~|~\sketchHashParam { \wVec } = j,\\ } } \wIndParam { \wVec }
\end { align}
For the next step, we show that the variance of an estimate is small.$$ \var { \estimate } $$
\begin { align}
& =\var { \estExpOne } \\
& = \big (\estTwo \big )^ 2\\
& =\sum _ { \substack {
\wVec _ 1, \wVec _ 2,\\
2019-06-05 13:14:32 -04:00
\wVecPrime _ 1, \wVecPrime _ 2 \in \pw ,\\
\sketchHashParam { \wVec _ 1} = \sketchHashParam { \wVecPrime _ 1} ,\\
\sketchHashParam { \wVec _ 2} = \sketchHashParam { \wVecPrime _ 2}
} } \wIndParam { \wVec _ 1} \cdot \wIndParam { \wVec _ 2} \cdot \polarFunc { \wVec _ 1} \cdot \polarFunc { \wVec _ 2} \cdot \polarFunc { \wVecPrime _ 1} \cdot \polarFunc { \wVecPrime _ 2}
2019-06-05 11:57:05 -04:00
\end { align}