4. (20 points) Consider the following method for generating a code for a random vari- able...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
4. (20 points) Consider the following method for generating a code for a random vari- able X which takes on m values {1,2,...,m} with probabilities p... Pm. Define i-1 F = Pk k=1 the sum of the probabilities of all symbols less than i. Then the codeword for i is the binary representation of number F = [0, 1] rounded off to l; bits, where li = [log1 11 1 16 16 (a) (5 points) Construct the code for the probability distribution (2) (b) (5 points) Show that the code constructed by this process is a prefix code. (c) (5 points) Show that in general if p is a dyadic distribution, i.e., p = 2- for some positive integer ls, the average length for this code matches H(X). (d) (5 points) Show that there are sources where the relative gap to entropy L/H(X) is arbitrarily large. 4. (20 points) Consider the following method for generating a code for a random vari- able X which takes on m values {1,2,...,m} with probabilities p... Pm. Define i-1 F = Pk k=1 the sum of the probabilities of all symbols less than i. Then the codeword for i is the binary representation of number F = [0, 1] rounded off to l; bits, where li = [log1 11 1 16 16 (a) (5 points) Construct the code for the probability distribution (2) (b) (5 points) Show that the code constructed by this process is a prefix code. (c) (5 points) Show that in general if p is a dyadic distribution, i.e., p = 2- for some positive integer ls, the average length for this code matches H(X). (d) (5 points) Show that there are sources where the relative gap to entropy L/H(X) is arbitrarily large.
Expert Answer:
Related Book For
Introduction To Probability Statistics And Random Processes
ISBN: 9780990637202
1st Edition
Authors: Hossein Pishro-Nik
Posted Date:
Students also viewed these programming questions
-
Portray in words what transforms you would have to make to your execution to some degree (a) to accomplish this and remark on the benefits and detriments of this thought.You are approached to compose...
-
Briefly describe ASCII and Unicode and draw attention to any relationship between them. [3 marks] (b) Briefly explain what a Reader is in the context of reading characters from data. [3 marks] A...
-
Question 4: Partners M, N, and O agreed to share the net income or loss in the ratio of 5:4:3 respectively. Their capital balances were Rs.80, 000, Rs. 70, 000 and Rs. 60, 000. They decided that "O"...
-
Mrs. K is completely blind, while Mr. L is paralyzed from the waist down. Both individuals have the same income. The Internal Revenue Code provides a preferential deduction for individuals who are...
-
In what ways do Lab experiments differ from Field experiments?
-
The daily number of orders filled by the parts department of a repair shop is a random variable with \(\mu=142\) and \(\sigma=12\). According to Chebyshev's theorem, with what probability can we...
-
The condensed balance sheet of Laporte Corporation reports the following: The market price of the common shares is currently $30 per share. Laporte wants to assess the impact of three possible...
-
Madsen Motors's bonds have 8 years remaining to maturity. Interest is paid annually; they have a $1,000 par value; the coupon interest rate is 6.5%; and the yield to maturity is 9%. What is the...
-
A gas is at 1 atm if the volume of the gas doubles, and the temperature remains constant, what will be the new volume?
-
Jenny sells her Value Auto Parts store to Burt and makes a valid contract not to compete. Burt wants to sell the store to Discount Auto Centers and assign to Discount the right to Jennys promise not...
-
Under the parol evidence rule, virtually any evidence is admissible to prove or disprove the terms of a contract. (True/False)
-
Bernie has a right to $100 against Holly. Bernie assigns the right to Tom. Toms rights against Holly a. include the right to demand performance from Holly. b. are subject to any defenses Holly has...
-
What are the two principal types of damages recoverable on a breach of contract?
-
Hans owes Bell Credit Company $10,000. Chris orally promises Bell that he will pay Hanss debt if Hans does not. This promise is a. not enforceable because it is not in writing. b. enforceable under...
-
How bad are looping frames in terms of bandwidth consumption (or why we need a protocol like STP to eliminate them)? Suppose that a 1,500-byte frame loops continuously in the LAN with three switches.
-
Why do bars offer free peanuts?
-
Five cards are dealt from a shuffled deck. What is the probability that the dealt hand contains a. Exactly one ace; b. At least one ace?
-
Let X and Y be two independent Uniform(0, 1) random variables, and Z = XY. Find the CDF and PDF of Z.
-
Let W(t) be a standard Brownian motion. For all s, t [0,), find C W (s, t) = Cov(W(s),W(t)).
-
Lennon Industries had the following transactions. 1. Borrowed 5,000 from the bank by signing a note. 2. Paid 3,900 cash for a computer. 3. Purchased 650 of supplies on account. Instructions a....
-
Ong Enterprises had the following selected transactions. 1. Shareholders invested NT\($40,000\) cash in the business in exchange for ordinary shares. 2. Paid office rent of NT\($8,400. 3. Performed...
-
The order of the accounts in the ledger is: a. assets, revenues, expenses, liabilities, share capitalordinary, dividends. b. assets, liabilities, share capitalordinary, dividends, revenues, expenses....
Study smarter with the SolutionInn App