we talked about Huffman coding and Shannon's source coding theorem for DMS(Q). Both Huffman coding and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
we talked about Huffman coding and Shannon's source coding theorem for DMS(Q). Both Huffman coding and Shannon's source coding compress an i.i.d. source by using the knowledge of the distribution of the source. In this problem, we consider the case when the true distribution Q of the source is unknown. For such a case, we will design a universal code' with which we can compress the source without the knowledge of the exact distribution Q. To design such a universal code, we first introduce some definitions. Consider an i.i.d. source X₁, X2,..., Xn distributed by distribution Q. An (n, R) block source code of rate R consists of a pair of mappings fn and gn: fn X→ {0, 1}R In: (0,1}"X". The probability of error for the code with respect to the distribution Qis p(n) Q ({z": gn (fn(x")) #x"}). (1) (2) We say that an error exponent E is achievable at rate R if there exists a sequence of (n, R) codes with P(n) e-nE (3) which means 1 lim sup - In P() <-E. (4) 14x n Let's design a universal code (fn, 9n) that enumerates all the sequences in the set A = {r" € X": H(P₂) ≤S} (5) for some constant S > 0, where P is the empirical distribution of each r". The encoder fn maps each sequence z E A to different codewords by one-to-one mapping, and the decoder gn recovers the sequence by the inverse mapping of fn. Note that this code does not assume or use the distribution of the source. Error is claimed whenever r" # A. The error probability of this code for DMS(Q) is thus P(n) Q ({x":" & A}). (6) a) Find the required rate R for the encoder fn to enumerate all the sequences in the set A. (Hint: Find the size |A|.) b) We now show that this encoding scheme is universal. Assume that the distribution of X₁, X2,..., X₂ is Q and H(Q)< S. Find the error exponent of this code, i.e., find E in (4) for P) in (6). (In your answer, if you have any optimization, then just leave it. You don't need to solve the optimization.) we talked about Huffman coding and Shannon's source coding theorem for DMS(Q). Both Huffman coding and Shannon's source coding compress an i.i.d. source by using the knowledge of the distribution of the source. In this problem, we consider the case when the true distribution Q of the source is unknown. For such a case, we will design a universal code' with which we can compress the source without the knowledge of the exact distribution Q. To design such a universal code, we first introduce some definitions. Consider an i.i.d. source X₁, X2,..., Xn distributed by distribution Q. An (n, R) block source code of rate R consists of a pair of mappings fn and gn: fn X→ {0, 1}R In: (0,1}"X". The probability of error for the code with respect to the distribution Qis p(n) Q ({z": gn (fn(x")) #x"}). (1) (2) We say that an error exponent E is achievable at rate R if there exists a sequence of (n, R) codes with P(n) e-nE (3) which means 1 lim sup - In P() <-E. (4) 14x n Let's design a universal code (fn, 9n) that enumerates all the sequences in the set A = {r" € X": H(P₂) ≤S} (5) for some constant S > 0, where P is the empirical distribution of each r". The encoder fn maps each sequence z E A to different codewords by one-to-one mapping, and the decoder gn recovers the sequence by the inverse mapping of fn. Note that this code does not assume or use the distribution of the source. Error is claimed whenever r" # A. The error probability of this code for DMS(Q) is thus P(n) Q ({x":" & A}). (6) a) Find the required rate R for the encoder fn to enumerate all the sequences in the set A. (Hint: Find the size |A|.) b) We now show that this encoding scheme is universal. Assume that the distribution of X₁, X2,..., X₂ is Q and H(Q)< S. Find the error exponent of this code, i.e., find E in (4) for P) in (6). (In your answer, if you have any optimization, then just leave it. You don't need to solve the optimization.)
Expert Answer:
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
Posted Date:
Students also viewed these databases questions
-
Write the balanced molecular ionic and net ionic equations for each of the following - A) Nitric Acid + Iron (III) Hydroxide > B) Chromic Acid + Sodium Hydroxide > Water + Sodium Chromate We...
-
Determine V. for the given clipper creui't anl sketeh it. Via 20vt Vo 8V Ideal -20V
-
Suppose the (electrically neutral) y z plane carries a time-dependent but uniform surface current K(t) z. (a) Find the electric and magnetic fields at a height x above the plane if (i) A constant...
-
Using the information from 2-16, create a cash flow statement for 2013. In 2-16 Bristle Brush-Off Corporation: Income Statements for Years Ended December 31 ($000s) 2013 2012 $7,950 5,100 350 750...
-
At the time of his death in 2017, Donald owned a farm (a qualified, closely held business) with a most suitable use value of $5 million and a current use value of $3.5 million. a. If the special-use...
-
Find the transmission parameters for the circuit in Fig. 19.101 . j20 2 20 2 ell -j100 k2 -j100 k2
-
Determine whether each of the following is true or false. In each case, assume \(P\) is located at \(t=0\) and \(F\) is located at \(t=n\), and the \(A\) s are spread uniformly over the planning...
-
Rodent Corporation produces two types of computer mice, wired and wireless. The wired mice are designed as low-cost, reliable input devices. The company only recently began producing the...
-
Mr. Smith, a high school teacher in Gander, decided to quit his current job and opened a private tutorial firm. He gave up his $38,940 a year job as a teacher. He used $27,500 of his savings that...
-
Compute the missing amounts in the separate (partial) income statements A, B, and C. A B C Sales Sales discounts $ ? $20,000 $90,000 2,000 1,500 500 Sales returns and allowances 7,000 4,000 35,000 ?...
-
Use the divergence of the vector field to compute 1 F(x, y) = (3xy-tan- ()) + (8 +2) J j 4 1 f (3ry-tan ()) dy - (8- 222) dx. 4 + where is the cardiod r = a(1 + cos 0), a > 0.
-
Hydrogen peroxide breaks down to form water and oxygen gas. When this reaction occurred, the following observations were made: I. The mass of the solution remains the same. II. Phase changes are...
-
Carol (87) is preparing to move into an aged-care facility as her health is declining. She is a homeowner (home valued at $540,000) and has around $85,000 in her bank account. She has told you that...
-
A client specifically asks for scoped advice such as: superannuation advice but you have identified that they require advice in relation to debt management and cash flow management. You have...
-
How do the mechanisms governing inter-process communication (IPC) within operating systems, such as message passing, shared memory, and remote procedure call (RPC) paradigms, contribute to the...
-
Please consider the following, and answer the associated questions. John contributes land (value = $400,000, basis = $300,000, associated mortgage = $330,000) to the Durant Company in exchange for a...
-
Find grad f. Graph some level curves f = const. Indicate Vf by arrows at some points of these curves. 1. f = (x + 1)(2y 1) 2. f = 9x2 + 4y2 3. f = y/x 4. (y + 6)2 + (xr 4)2 5. f = x* + y* 6. f =...
-
(a) Bright Sdn Bhd (BSB) is a tax resident manufacturing company in Johor, which involves in ceramic tiles. Currently, BSBs annual sales turnover has been forecasted to be around RM 300,000 for the...
-
Add the following accessor methods to your Rectangle class: public boolean contains(int x, int y) public boolean contains(Point p) Returns whether the given Point or coordinates lie inside the bounds...
-
Write a method zoomIn that accepts a DrawingPanel as a parameter and converts it into an image twice as large in both dimensions. Each pixel from the original image becomes a cluster of 4 pixels (2...
-
Assume that you have a variable called count that will take on the values 1 , 2 , 3 , 4 , and so on. You are going to formulate expressions in terms of count that will yield different sequences. For...
-
In the case considered in the question (14), show what the trajectory corresponds to in case the magnitude of acceleration is \(a=2 k \sqrt{1+\frac{t}{T}}\), where \(T=\) cost. Question 14 A particle...
-
The position vector along a trajectory expressed in terms of the scalar distance \(s\) from the origin is given by the relation \(\mathbf{r}=\mathbf{a} s^{2}+\mathbf{b} s+\mathbf{c}\), with the...
-
A particle is constrained to move on a circular guideway of radius \(R=3.00 \mathrm{~m}\), on which it can slide without friction, according to the motion equation law \(s(t)=k t^{3}\), with \(k=2.0...
Study smarter with the SolutionInn App