Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer question 4 4 ) Answer why entropy is maximized in a uniform distribution. ( 2 5 points ) Self - Information In information

Please answer question 4
4) Answer why entropy is maximized in a uniform distribution. (25points)
Self-Information
In information theory, the entropy of a random variable is the average level of "information",
"surprise", or "uncertainty" inherent to the variable's possible outcomes.
The self-information is a measure of the information content associated with the outcome of a
random variable. The self-information of an event x=x is defined as:
I(x)=-log2P(x=x)
The choice of base for log, the logarithm, varies for different applications. Base 2 gives the unit of
bits. We can quantify the amount of uncertainty in an entire probability distribution using the
Shannon entropy.
Shannon Entropy
Given a discrete random variable x, with possible outcomes x1,dots,xn, which occur with probability
P(x=x1),dots,P(x=xn) the entropy of x is formally defined as:
H(x)=-i=1nP(x=xi)log2P(x=xi)
where ?? denotes the sum over the variable's possible values. An equivalent definition of entropy is
the expected value of self-information of a variable.
Problem:
Study Shannon Entropy yourself in more detail and calculate the entropy of two random
variables x and Y, respectively.
Random variable x is a uniform random variable with N=8, i.e.,xU(8).(25 points)
Random variable Y has the following probability mass function (25 points):
P(x=1)=12,P(x=2)=14,P(x=3)=18,P(x=4)=116,
P(x=5)=164,P(x=6)=164,P(x=7)=164,P(x=8)=164.
Which random variable gives a higher entropy, x or Y?(25 points)
Answer why entropy is maximized in a uniform distribution. (25 points)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions