

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A part of the lecture notes for a university course on error-correcting codes. It includes a proof of the markov property for a given set of variables and an explanation of how to compute the required probabilities using the given lemmas. The document also introduces some notation for simplifying the probability computations.
Typology: Slides
1 / 2
This page cannot be seen from the preview
Don't miss anything!


18.413: Error-Correcting Codes Lab February 26, 2004
Lecturer: Daniel A. Spielman
To begin, let me point out that there was a typo in the lecture notes from last lecture. Lemma 6.4.
should have said:
Lemma 7.0.1.
ext
[X 1
= a 1
2
3
= b 2
b 3
a 2 :(a 1 ,a 2 )∈C 12
2
= a 2
1
= a 1
ext
[X 2
= a 2
2
= b 2
ext
[X 2
= a 2
3
= b 3
Last lecture, we considered three variables X 1
2
and X 3
chosen uniformly from those that satisfy
1
2
12
1
2
and and (X 2
3
23
2
3
We claimed that the variables (X 1
2
3
) then satisfy what the book calls the “Markov” property.
That is, for all a 1 , a 2 , a 3 ,
1
3
= a 1
a 3
2
= a 2
1
= a 1
2
= a 2
3
= a 3
2
= a 2
I’ll now sketch a proof. It basically follows by by recalling the definition of the probability of an
even conditioned on X 2 = a 2. We first note that the set of choices for (X 1 , X 2 , X 3 ) given that
2
= a 2
is
Sa 2
def
= {(X 1 , a 2 , X 3 ) : (X 1 , a 2 ) ∈ C 12 and (a 2 , X 3 ) ∈ C 23 }.
Conditioning on X 2 = a 2 , we obtain a sample chosen uniformly from Sa 2
. Thus, for (a 1 , a 2 , a 3 ) ∈
a 2
1
2
3
) = (a 1
, a 2
, a 3
2
= a 2
|Sa 2
Note that
a 2
| = |{a 1
: (a 1
, a 2
12
}| |{a 3
: (a 2
, a 3
23
The claim now follows from observing that
P [(X 1 , X 2 ) = (a 1 , a 2 )|X 2 = a 2 ] =
|{a 3
: (a 2
, a 3
23
a 2
|{a 1
: (a 1
, a 2
12
and
2
3
) = (a 2
, a 3
2
= a 2
|{a 1 : (a 1 , a 2 ) ∈ C 12 }|
|Sa 2
|{a 3 : (a 2 , a 3 ) ∈ C 23 }|
Lecture 7: February 26, 2004 7-
First, lets establish that the fundamental quantities we are interested in have the form
i
= a i
where E is some event, usually a union of the observed variables. We will typically want these
values for all a i
, so we really want a vector
(P [Xi = a 1 |E] , P [Xi = a 2 |E] ,... , P [Xi = an|E] , ) ,
where a 1 ,... , an are the symbols in the alphabet Ai. We will denote such a vector by
i
Using this notation, and letting denote componentwise product ((a, b) (c, d) = (ac, bd)), we
have
post
[Xi|E] =
prior
[Xi]
ext
[Xi|E]
Before returning to our probability computations for (X 1
2
3
), I’ll also introduce the simpler
notation P
ext
[Xi = ai|Yi] for P
ext
[Xi = ai|Yi = bi]. We will use this notation whenever bi is fixed
throughout our computation, which it generally is as it is what was received.
We then have, from Lemma 6.2.1,
post
1
1
2
3
prior
1
ext
1
1
ext
1
2
3
and, from Lemma 7.0.1,
ext
[X 1
= a 1
2
3
a 2 :(a 1 ,a 2 )∈C 12
2
= a 2
1
= a 1
ext
[X 2
= a 2
2
ext
[X 2
= a 2
3
Using these formulas, we go through the following steps to compute
post
ext
[X 2 |Y 3 ]. This computation only depends upon Y 3 , and comes from the formula:
ext [X 2
= a 2
3
a 3 :(a 2 ,a 3 )∈C 23
3
= a 3
2
= a 2
3
3
= a 3
ext
2
2
], and compute
ext
ext
[X 2 = a 2 |Y 3 ].
, compute
P [X 2 |X 1 = a 1 ]
ext
ext
and then sum the resulting vector.
prior
ext
If you look at the flow of this computation, it can be understood as a vector being passed from X 3
to X 2 between steps 1 and 2, and a vector begin passed from X 2 to X 1 between steps 3 and 4.