<< Chapter < Page Chapter >> Page >

Therefore, the space of Markov sources covers the stationary ergodic sources in the limit of large k .

Unifilar sources : For unifilar sources, it is possible to reconstruct the set of states that a source went through by looking at the output sequence. In the Markov case we have S i = ( X i - k i - 1 ) , but in general it may be more complicated to determine the state.

To put us on a concrete basis for analysis of unifilar sources, consider a source with M states, S = { 1 , 2 , . . . , M } , and an alphabet α = { 1 , 2 , . . . , r } . In each time step, the source outputs a symbol and moves to a new state. Denote the output sequence by x = x 1 x 2 x n , and the state sequence by s = s 1 s 2 s n , where s i S and x i α . Denote also

q ( s | s ' ) = Pr { S t = s | S t - 1 = s ' } = Pr { S t = s | S t - 1 = s ' , S t - 2 , } .

This is a first-order time-homogeneous Markov source. The probability that the next symbol is a follows,

p ( a | s ) = Pr { X t = a | S t = s } = Pr { X t = a | S t = s , X t - 1 , S t - 1 , } .

There exists a deterministic function,

S t = g ( S t - 1 , X t - 1 ) ,

this is called the next state function. Given that we start at some state S 1 = s 1 , the probability for the sequence of states s 1 , ... , s n is given by

p ( X 1 n | S 1 ) = t = 1 n p ( X t | S t ) .

Note the relation

q ( s | s ' ) = a : g ( s ' , a ) = s p ( a | s ' ) .

To summarize, unifilar sources can be described by a state machine style of diagram as illustrated in [link] .

State machine for selecting the state of a unifilar source.
State machine for selecting the state of a unifilar source.

Given that an initial state was fixed, a unifilar source with M states and an alphabet of size r can be expressed with M ( r - 1 ) parameters. If the initial state is a random variable, then there are M - 1 parameters that define probabilities for the initial state, giving M ( r - 1 ) + M - 1 = M r - 1 parameters in total. In the Markov case, we have M = r k , it is a special type of unifilar source.

For the unifilar source that appears in [link] , the states can be discerned from the output sequence. Let us follow up on this example while discussing more properties of unifilar sources.

Unifilar source for Example 3
Unifilar source for  [link] .

A state S is called transient if once we leave it we cannot go back; S 1 is such a state in the exaple. A subset E of states is called irreducible if from every state in E it is possible to move to every other state in E in a finite number of steps, and it is impossible to leave E . We see that { S 2 , S 3 } and { S 4 } are irreducible sets. The states can be decomposed (in a single unique way) into a set of transient states and irreducible components. It can be shown that withprobability 1 the time spent in transient states is finite, and after that the source enters one of the irreducible components and stays there forever.Finally, in an ergodic source there may only be one irreducible component. Therefre, our example source is not ergodic because it contains two such components.

Given that we are in some state s , which belongs to an irreducible component, the number of time steps until we return to s for the first time is a random variable called recurrence time . The period of an irreducible component is the largest integer that divides all possible recurrence times.

In the unifilar source in [link] the period is 1, because recurrence time could be 2 or 3. However, it is impossible for the recurrence time to be 1.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Universal algorithms in signal processing and communications. OpenStax CNX. May 16, 2013 Download for free at http://cnx.org/content/col11524/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Universal algorithms in signal processing and communications' conversation and receive update notifications?

Ask