Hello,
Consider the set of binary sequences of length $N$ having $Np$ $1$'s and $N(1-p)$ $0$'s $(0 < p < 1)$. This set is sometimes called a typical set, denoted by $T(P)$,zeroes and defined as
$T(P) = (x^N: P_{x^N} = P)$
where $x^N = (x_1,...,x_N)$ is a binary sequencesones of length $N$, $P = [p 1-p]$, and with $P_{x^N}$ is the empircal distribution defined as$k$ ones (for the binary case)
$P_{x^N}(1) = \frac{\sum_{i=1}^N x_i}{N}$or,
and
$P_{x^N}(0) = 1-\frac{\sum_{i=1}^N x_i}{N}$ Np ones where $p=k/N$).
Suppose we are selecting, We draw randomly and uniformly at random, onea sequence from this set.
I want to show that with probability tending to $1$ as $N\to\infty$$N→∞$, boththere are approximately $kN/2$ (or $Np/2$) ones in the first half and the second half of this sequence (both of length $N/2$) are approximately has a fraction of $1$'s between $p(1-\epsilon)$ and $p(1 + \epsilon)$ for some arbitrarily small $\epsilon>0$.
Thank you!
SOLVED