Home / Math and Physics Files / Math / Spectral Theory Book / Work for Aug 2013 Update / App G on random var
App G (g) storage
DOCX · 27.6 KB
Open DOCX file
Phil's storage copy of section (g) of Appendix G on random variables for his spectral theory book, set aside in the August 2013 update because it no longer plays a role. It builds an ensemble of pulse-train amplitude sequences enlarged by all cyclic rotations, repairs seam errors, and shows the joint distribution is cyclically symmetric. It derives that E(Yn) and p(Yn=x) are independent of n and that pair correlations depend only on m-n mod N.
AI-written summary; may contain errors.
Extracted text (machine-read; may contain errors)
This is the entire App G (g) that has all my "useful ensemble" stuff in it. It never was too clean, and now it plays no role, so I will just store it here and maybe replace it with just the beginning. I suspect the idea that an Apparatus will dutifully generate all the cyclic permutations of the first M set is probably the same as saying the Apparatus is stationary. I was sort of trying to prove stationarity, but I now think it is a property of the Apparatus and is not something you can prove in this way by artificially creating an ensemble you like! So it will be stored here in case some say I need it! Who knows!
(g) Experiments with Sequences of Pulse Train Amplitudes
Our pulse trains have a set of amplitudes yn which form a sequence. If the sequence has N elements, then a sequence can be written [y1, y2.....yN]. When many pulse trains are generated in some line code, one finds that the values of yn in position n of the sequence can vary, and that there is some probability distribution associated with the parameter yn. Thus, the position n in the pulse train or sequence is associated with a random variable we must call Yn which takes values yn.
Here is our first experiment. We have an Apparatus which generates sequences of length N according to some set of rules implemented within the Apparatus (perhaps these are the rules for generating AMI linecode sequences, and the AMI encoder inputs random input streams). Every sequence it generates is "legal" according to its rules. Earlier we discussed an ensemble experiment in which M dice were rolled one at a time and were left on the craps table for study and from what we saw on the table, we were able to construct a distribution function. The ensemble was M dice. In our current ensemble experiment, we let the Apparatus crank away and generate an ensemble of M sequences each of length N, and these M sequences are left sitting on the same craps table for us to inspect. This is our "preliminary" ensemble of sequences.
The notation Yn leads to some confusion. When we had a random variable H which took values h, we might have enumerated the set of h values of the sample space as hi. To maintain clarity, if we have random variable Yn which takes values yn, we should enumerate those values as (yn)i. Here, yn is the name of a variable, just as h was the name of a variable. Thus, to write down a specific sequence "i" we really should say
[(y1)i, (y2)i.....(yN)i] = sequence "i"
or (G.39)
[y1(i), y2(i)..... y2(i)] = sequence "i"
where (y2)i = y2(i) is some specific symbol value like "5". We used the latter notation when talking about an ensemble of pulse trains in Section 35.
The Useful Ensemble. To construct a "useful" ensemble of pulse trains, we first imagine generating some number M of pulse trains of length N from our Apparatus as described above. We then take this ensemble of M pulse trains and considerably increase the size of the ensemble by including in it all cyclic permutations (rotations) of the M pulse trains, so now the enlarged ensemble contains I = M*N pulse trains.
Depending on the rules of the Apparatus generating the pulse trains, these rotated pulse trains might be "illegal" at the boundary where the pulse train wraps around on itself. For example with N = 5 we obtain this sequence plus its rotations,
A B C D E
B C D E|A
C D E|A B
D E|A B C
E|A B C D . (G.40a)
Here the seam is marked by a bar | . If the seam were "illegal", we could probably repair the seam by replacing A with some other symbol Q to get a legal sequence of symbols,
A B C D E
B C D E Q
C D E Q B
D E Q B C
E Q B C D (G.40b)
Perhaps several symbols near the seam would have to be "repaired" in this manner, but we shall assume just one as shown above. Notice that each column has at most one bad symbol Q, and that is 1/N of the symbols in the column. If N = 100, then at most 1% of the symbols in a column are wrong after adjustment. If a 2-symbol repair were needed, then at most 2% in a column would be wrong.
We imagine doing this for all M of our initial pulse trains to get our final set of I = M*N pulse trains. In this "useful ensemble", in each vertical column, 1/N of the symbols might be wrong. We of course have in mind that N is very large, but our examples will always have N very small, such as N = 5.
Now we associate each column of our ensemble of sequences with a random variable Yn. For (G.40),
Y1 Y2 Y3 Y4 Y5 (G.41)
Fact: The expected value <yn> ≡ E(Yn) is independent of n. (G.42)
Proof: Each column has at most 1 bad symbol like Q for each initial ensemble sequence. So if there are now I = M*N pulse trains in the ensemble, then in each column there will be at most M bad symbols. When the expected value is computed by summing the elements of the column n and dividing by I,
E(Yn) = (1/I) !Syntax Error, Iyn(i) = (1/I) !Syntax Error, I (yn)i // two notations for the same thing
one finds that the sums for different n are almost identical with an error on the order of 1/N. In our example the first column sums to A+B+C+D+E whereas the other columns are Q+B+C+D+E . Of course the exact error depends on what symbol Q was used to do the repair and what the palette of symbol values is, and so on, but the general order is 1/N. As N is made large, this error approaches 0 and then all the columns have the same expected value of their Yn. QED
Now recall the probability distribution for our N=5 ensemble, written in two ways as in (G.5),
p(a,b,c,d,e) ≡ p(Y1=a,Y2= b,Y3= c,Y4= d,Y5= e) . (G.43)
This is the height of a specific "bar" in the 6D bar chart that is p(y1,y2,y3,y4,y5), see Fig G.12
Fact: For our useful ensemble, the probability distribution p(a,b,c ... ) has cyclic symmetry. (G.44)
Example: p(a,b,c,d,e) = p(e,a,b,c,d) = p(d,e,a,b,c) = p(c,d,e,a,b) = p(b,c,d,e,a)
Proof: This might seem obvious, but a formal proof is warranted. We show this for the case N = 5; the general case should then be obvious. Using the notation introduced in (G.37) we can imagine evaluating p(a,b,c,d,e) this way, where [....] indicates an ordered sequence of numbers,
p(a,b,c,d,e) = (1/I) Σi=1I ( [ a,b,c,d,e] = [ (y1)i, (y2)i, (y3)i, (y4)i, (y5)i ] ) .
Since our ensemble contains all cyclic rotations of [ (y1)i, (y2)i, (y3)i, (y4)i, (y5)i) ], we don't change the above sum by replacing this [...] with [ (y2)i, (y3)i, (y4)i, (y5)i, (y1)i) ], we merely re-order the sum. In our example above, we can rewrite the 5 sequences on the left in this fancier notation,
(y1)i (y2)i (y3)i (y4)i (y5)i
Y1Y2Y3Y4Y5
α A B C D E (y1)1 (y2)1 (y3)1 (y4)1 (y5)1
β B C D E A (y1)2 (y2)2 (y3)2 (y4)2 (y5)2
δ C D E A B (y1)3 (y2)3 (y3)3 (y4)3 (y5)3
γ D E A B C (y1)4 (y2)4 (y3)4 (y4)4 (y5)4
ε E A B C D (y1)5 (y2)5 (y3)5 (y4)5 (y5)5
We now rotate the above columns one column to the left to get
(y2)i (y3)i (y4)i (y5)i (y1)i
Y1Y2Y3Y4Y5
β B C D E A (y2)1 (y3)1 (y4)1 (y5)1 (y1)1
δ C D E A B (y2)2 (y3)2 (y4)2 (y5)2 (y1)2
γ D E A B C (y2)3 (y3)3 (y4)3 (y5)3 (y1)3
ε E A B C D (y2)4 (y3)4 (y4)4 (y5)4 (y1)4
α A B C D E (y2)5 (y3)5 (y4)5 (y5)5 (y1)5
As it most easily seen on the left, this rotation by one column has just reordered the ensemble sequences from the original order α,β,γ,δ,ε to the new order β,γ,δ,ε,α. The same set of samples is included in the sum above regardless of how they are ordered.
Consider then our starting expression,
p(a,b,c,d,e) = (1/I) Σi=1I ( [ a,b,c,d,e] = [ (y1)i, (y2)i, (y3)i, (y4)i, (y5)i] ) .
Note that c is a specific number, as is (y5)3 . Neither of these is a variable. Now suppose the ensemble has the property just noted above, that we can reorder the sum this way,
p(a,b,c,d,e) = (1/I) Σi=1I ( [ a,b,c,d,e] = [(y2)i, (y3)i, (y4)i, (y5)i, (y1)i] ) .
The equality of the two sequences of numbers shown in the truth test [...] = [...] does not change if we alter each sequence in the exact same way, so rewrite again as
p(a,b,c,d,e) = (1/I) Σi=1I ( [ e,a,b,c,d] = [(y1)i, (y2)i, (y3)i, (y4)i, (y5)i,] ) .
But the expression on the right is the definition of p(e,a,b,c,d). Thus we have shown that
p(a,b,c,d,e) = p(e,a,b,c,d) .
We can then show in the same way that p(e,a,b,c,d) = p(d,e,a,b,c) and so on, so in the end all cyclic permutations (rotations) of p(a,b,c,d,e) are equal for our useful ensemble. QED
Comment: In the special case that all the sequence random variables Yn are statistically independent, we can write
p(y1,y2,y3,y4,y5) = p(y1) p(y2) p(y3) p(y4) p(y5) .
In this special case it is obvious that p(y1,y2,y3,y4,y5) is symmetric under cyclic permutations, as it is under any permutation. A point to note is that we are not assuming statistical independence of the Yn and that therefore there can exist "correlation" between pairs of random variables in our sequences (pulse train amplitudes). Nevertheless, in this general case p(y1,y2,y3,...) our useful ensemble has cyclic symmetry, and this ensemble is a realizable ensemble from our experiments for large N with only some very small error. As N→∞, that error goes to 0.
Fact: The probability distribution p(Yn = x) is independent of n. (G.45)
Proof by Example: When we write p(Yn = x) = p(x), then p(x) is deceptively independent of n, but we must show this in the true full notation where n dependence is not concealed. So consider using our N= 5 example, where we use (G.7) to obtain p(Y3 = x) by summing over all the "other variables" of the full 5th order joint probability distribution p(y1,y2,y3,y4,y5),
p(Y3 = x)
= Σy1,y2,y4,y5 p(Y1=y1,Y2= y2,Y3 = x,Y4= y4,Y5= y5) // definition of p(Y3 = x)
= Σy2,y3,y5,y1 p(Y1=y2,Y2= y3,Y3= x,Y4= y5,Y5= y1) // rename dummy summation variables
= Σy1,y2,y3,y5 p(Y1=y2,Y2= y3,Y3= x,Y4= y5,Y5= y1) // trivially reorder sums on Σ
\ \ \ \
= Σy1,y2,y3,y5 p(Y1=y1,Y2= y2,Y3= y3,Y4= x,Y5= y5) // use cyclic property of p function
= p(Y4 = x) // definition of p(Y4 = x)
Thus we have shown that p(Y3 = x) = p(Y4 = x) and either by iterating or using other cyclic permutations in the middle step above we conclude that all the p(Yn = x) are equal and thus p(Yn = x) is independent of n. As usual, this is for our "useful distribution".
Corollary 1: <yn> ≡ E(Yn) is independent of n, since E(Yn) = (1/I)Σx x p(Yn = x) and p(Yn = x) is independent of n. Thus we have an alternate proof of (G.42) above. (G.46)
Corollary 2: <yn2> ≡ E(Yn2) is independent of n, since E(Yn2) = (1/I)Σx x2 p(Yn = x) and p(Yn = x) is independent of n. (G.47)
Corollary 3: <f(yn)> ≡ E(f(Yn)) is independent of n, since E(f(Yn)) = (1/I)Σx f(x) p(Yn = x), etc.
See (G.22). (G.48)
Fact: The probability distribution p(Yn = x, Ym = z ) depends only on m-n mod N. (G.49)
Proof by Example: Using the same example as above, and again applying (G.7), we find that
p(Y2 = x, Y4 = z) // m-n = 4-2 = 2
= Σy1,y3,y5 p(Y1=y1,Y2= x,Y3 = y3,Y4= z,Y5= y5) // definition of p(Y3 = x)
= Σy3,y5,y1 p(Y1=y3,Y2= x,Y3 = y5,Y4= z,Y5= y1) // rename dummy sum indices
= Σy1,y3,y5 p(Y1=y3,Y2= x,Y3 = y5,Y4= z,Y5= y1) // trivially reorder sums on Σ
\ \ \ \
= Σy1,y3,y5 p(Y1=y1,Y2= y3,Y3 = x,Y4= y5,Y5= z) // use cyclic property of p function
= p(Y3 = x, Y5 = z) // m - n = 5-3 = 2
In general, one has
p(Yn = x, Ym = z ) = p(Yn+k = x, Ym+k = z )
again for our useful ensemble.
Corollary: <ynym> ≡ E(YnYm) for m ≠ n depends only on m-n mod N. (G.50)
E(YnYm) = (1/I) Σx,z (xz) p(Yn = x, Ym = z) = (1/I) Σx,z (xz) p(Yn+k = x, Ym+k = z)
= E(Yn+kYm+k) .
Conclusion: When we experimentally create a huge "statistical ensemble" of pulse trains which have a very long length N, this ensemble is statistically very similar to our "useful ensemble" described above. Every possible legal sequence of amplitudes will appear many times in the ensemble, and all the cyclic versions of each sequence will appear (ignoring the tiny seam corrections) on an equal footing. As N gets very large, the notion of cyclic permutation is more associated with a shift of the pulse train, when we observe some finite window near the center of the pulse train. For N = ∞, the shift notion is all that remains, and there are no seams to worry about. For such pulse trains, we have established these important facts:
<yn> = independent of n // general
<yn2> = independent of n // general
<ynyn+k> = independent of n, dependent in general on k // general
<ynym> = <yn><ym> = <yn>2 = independent of n // independent only (G.51)