Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
datovky
ds2-notes
Commits
d445af83
Commit
d445af83
authored
May 02, 2021
by
Parth Mittal
Browse files
add a macro for Var, and use it
parent
defbcae6
Changes
2
Hide whitespace changes
Inline
Side-by-side
streaming/streaming.tex
View file @
d445af83
...
...
@@ -189,11 +189,11 @@ is $2$-independent). Hence $\E[X_{r, j}] = 1 / 2^r$. By linearity of
expectation,
$
\E
[
Y
_{
r
}
]
=
d
/
2
^
r
$
.
We will also use the variance of these variables -- note that
$$
{
\rm
Var
}
[
X
_{
r, j
}
]
\leq
\E
[
X
_{
r, j
}^
2
]
=
\E
[
X
_{
r, j
}
]
=
1
/
2
^
r
$$
$$
\
Var
[
X
_{
r, j
}
]
\leq
\E
[
X
_{
r, j
}^
2
]
=
\E
[
X
_{
r, j
}
]
=
1
/
2
^
r
$$
And because
$
h
$
is
$
2
$
-independent, the variables
$
X
_{
r, j
}$
and
$
X
_{
r, j'
}$
are independent for
$
j
\neq
j'
$
, and hence:
$$
{{
\rm
Var
}}
[
Y
_{
r
}
]
=
\sum
_{
j : f
_
j >
0
}
{
\rm
Var
}
[
X
_{
r, j
}
]
\leq
d
/
2
^
r
$$
$$
\
Var
[
Y
_{
r
}
]
=
\sum
_{
j : f
_
j >
0
}
\
Var
[
X
_{
r, j
}
]
\leq
d
/
2
^
r
$$
Now, let
$
a
$
be the smallest integer such that
$
2
^{
a
+
1
/
2
}
\geq
3
d
$
. Then we
have:
...
...
@@ -208,7 +208,7 @@ $$ \Pr[\hat{d} \leq d / 3] = \Pr[ Y_{b + 1} = 0] \leq
\Pr
[
\vert
Y
_{
b
+
1
}
-
\E
[
Y
_{
b
+
1
}
]
\vert
\geq
d
/
2
^{
b
+
1
}
]
$$
Using Chebyshev's inequality, we get:
$$
\Pr
[
\hat
{
d
}
< d
/
3
]
\leq
{
{
\rm
Var
}
[
Y
_
b
]
\over
(
d
/
2
^{
b
+
1
}
)
^
2
}
\leq
$$
\Pr
[
\hat
{
d
}
< d
/
3
]
\leq
{
\
Var
[
Y
_
b
]
\over
(
d
/
2
^{
b
+
1
}
)
^
2
}
\leq
{
2
^{
b
+
1
}
\over
d
}
\leq
{
\sqrt
{
2
}
\over
3
}$$
\qed
...
...
tex/adsmac.tex
View file @
d445af83
...
...
@@ -170,6 +170,7 @@
\def\E
{{
\bb
E
}}
\def\Pr
{{
\rm
Pr
}
\mkern
0.5mu
}
\def\Prsub
#1
{{
\rm
Pr
}_{
#1
}}
\def\Var
{{
\rm
Var
}
\mkern
0.5mu
}
% Vektory
\def\t
{{
\bf
t
}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment