. Let the random variable X be five possible symbols {a, ,y, 8, e). Consider two...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
. Let the random variable X be five possible symbols {a, ß,y, 8, e). Consider two probability distributions p(x) and q(x) over these symbols, and two possible coding schemes C₁ (x) and C₂ (x) for this random variable: Symbol p(x) q(x) C₁(x) 1/2 1/2 0 10 α B Ύ 8 € C₂(x) 0 100 1/4 1/8 1/8 1/8 110 101 1/16 1/8 1110 110 1/16 1/8 1111 111 (a) Calculate H(p), H(q), D (p|lq) and D(q|lp). (b) The last two columns above represent codes for the random variable. Is code C₁ optimal for p(x)? Is code C₂ optimal for q(x)? (c) Assume that we use code C₂ when the distribution is p. What is the average length of the codewords? By how much does it exceed the entropy H(p)? Relate your answer to D (pl|q). (d) Assume that we use code C₁ when the distribution is q. What is the average length of the codewords? By how much does it exceed the entropy H(q)? Relate your answer to D(qllp). . Let the random variable X be five possible symbols {a, ß,y, 8, e). Consider two probability distributions p(x) and q(x) over these symbols, and two possible coding schemes C₁ (x) and C₂ (x) for this random variable: Symbol p(x) q(x) C₁(x) 1/2 1/2 0 10 α B Ύ 8 € C₂(x) 0 100 1/4 1/8 1/8 1/8 110 101 1/16 1/8 1110 110 1/16 1/8 1111 111 (a) Calculate H(p), H(q), D (p|lq) and D(q|lp). (b) The last two columns above represent codes for the random variable. Is code C₁ optimal for p(x)? Is code C₂ optimal for q(x)? (c) Assume that we use code C₂ when the distribution is p. What is the average length of the codewords? By how much does it exceed the entropy H(p)? Relate your answer to D (pl|q). (d) Assume that we use code C₁ when the distribution is q. What is the average length of the codewords? By how much does it exceed the entropy H(q)? Relate your answer to D(qllp).
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Determine the INSTRUCTION TYPE, CONTENT/RESULT of the destination after the execution (if not applicable, NA), the MACHINE CODE, and ADDRESS RANGE when saved in the CS of the given instruction. It...
-
Which of the following statements is CORRECT? a. If Apple issues additional shares of common stock through an investment banker, this would be a secondary market transaction. b. Only institutions,...
-
Let the random variable X be equal to the number of days that it takes a high-risk driver to have an accident. Assume that X has an exponential distribution. If P(X < 50) = 0.25, compute P(X > 100 |...
-
At the beginning of the year, COMET Company decided to raise additional capital by issuing 8,000 of 1,000 face amount 5-year bonds with interest rate of 12% payable semi-annually on June 30 and...
-
Which puts out the greater percentage of its energy as light: an incandescent lamp or a mercury-vapor lamp?
-
As depicted in Fig. P5.15, the velocity of water, y (m/s), discharged from a cylindrical tank through a long pipe can be computed as where g = 9.81 m/s2, H = initial head (m), L = pipe length (m),...
-
The adjusted trial balance shows a. amounts that may be out of balance. b. revenues and expenses only. C. assets, liabilities, and common stock only, d. amounts that are ready for the financial...
-
The same facts apply as in Exercise 14 except that Budvar Company purchases parts from a foreign supplier on December 1, Year 1, with payment of 20,000 crowns to be made on March 1, Year 2. On...
-
If you had a promising idea for a business venture and wanted to acquire start-up capital, what steps would you take to attain the needed financial resources?
-
Condensed financial data of Sheffield Corp. follow. Sheffield Corp. Comparative Balance Sheets December 31 Assets Cash Accounts receivable Inventory. Prepaid expenses Long-term investments Plant...
-
Project Overview: The project is used to illustrate the process and documentation required for a network security design. This project presents a scenario in which the RGIT SOFTWARE AUSTRALIA has...
-
What is labour turnover? How is it measured? What are its costs? How can they be reduced?
-
What are incentive plans? Describe the main types of incentives plans.
-
Describe the different financial ratios that can be calculated to assess whether a sports organizations financial objectives are being met.
-
Attend a womens sporting event and record the demographic profile of the spectators. What are your observations? Use these observations and suggest how you might segment, target, and position (market...
-
What do you understand by fixed overheads? Why are they called burdens?
-
The PESTEL framework is designed to provide managers with an analytical tool to identify different macro-environmental factors. In this regard, describe how PESTEL framework can be used to perform...
-
Suppose the government bond described in problem 1 above is held for five years and then the savings institution acquiring the bond decides to sell it at a price of $940. Can you figure out the...
-
From the approximation which holds for large n, deduce an expression for the log-likelihood L(px, y) and hence show that the maximum likelihood occurs when = r. An approximation to the information...
-
Show that if g(x) = sinh - 1 (x) then Deduce that if x ~ NB(n,) has a negative binomial distribution of index n and parameter and z = g(x) then Ez sinh -1 (x) and Vz 1/4n. What does this suggest...
-
Suppose that k ~ B(n, ). Find the standardized likelihood as a function of for given k. Which of the distributions listed in Appendix A does this represent? Appendix A. Some facts are given about...
-
Solve Chapter Problem 13.21, assuming the force is narrowband with a power spectral density given by \(S_{F}(\omega)=\frac{3 \times 10^{-3}}{2+5 \omega^{2}}\). Data From Chapter Problem 13.21: A SDOF...
-
Solve Chapter Problem 13.21, assuming the power spectral density is band limited with \(\omega_{1}=50 \mathrm{rad} / \mathrm{s}\) and \(\omega_{2}=200 \mathrm{rad} / \mathrm{s}\). Data From Chapter...
-
Fine Leather Ltd has provided the following production and sales information for each pair of its dress shoes. The fixed costs for the period are \($1\) 125 000. Required (a) Calculate the...
Study smarter with the SolutionInn App