Re: Shannon's information theory
From: Amir massoud Farahmand (sologen_at_yahoo.com)
Date: 12/24/04
- Next message: Ajoy K Thamattoor: "Re: Turing's Halting Algorithm Question"
- Previous message: sologen_at_yahoo.com: "Re: Robust Algorithms"
- In reply to: Thomas B.: "Shannon's information theory"
- Next in thread: Ajoy K Thamattoor: "Re: Shannon's information theory"
- Reply: Ajoy K Thamattoor: "Re: Shannon's information theory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Dec 2004 10:55:52 -0800
Hi! (:
The actual problem is due to the difference between the estimated
probability distribution and the actual one. Your estimation indicates
that p(x=100) = 1 and p(x=otherwise)=0. However, note that this is only
an estimation and can be wrong. You may provide a bound on the accuracy
of your results and ... and ... ! (:
Thomas B. wrote:
> Hello.
> I have a question about calculating the entropy of an integer
> value (32 bit).
>
> Let's call the value x. x's range is 0-(2^32-1).
> I make a meassure of x. I got 5 samples and x is
> 100 everytime.
> I repeat this experiment to verify my results,
> everytime x is 5 times 100.
>
> Therefore my mind tells me: no entropy.
>
> But what about the formula? How should I set
> the probability?
>
> If I set p to 5/5 = 1 then entropy is 0.
> (5 times occurence, 5 samples)
> But this looks wrong, because x can be
> every value from 0 to 2^32-1.
> Therefore p = 5/2^32 which leads to an entropy > 0.
>
> So what does matter:
> a) the number of theoretically possible values
> x can have?
> b) the number of different values that really
> occur?
>
(a) matters but you should use "theoretically possible" phrase
considering the pdf of your event; having an integer value does not
lead to having a uniform distribution in it.
> Thanks for your help.
>
> Thomas
Amir massoud
- Next message: Ajoy K Thamattoor: "Re: Turing's Halting Algorithm Question"
- Previous message: sologen_at_yahoo.com: "Re: Robust Algorithms"
- In reply to: Thomas B.: "Shannon's information theory"
- Next in thread: Ajoy K Thamattoor: "Re: Shannon's information theory"
- Reply: Ajoy K Thamattoor: "Re: Shannon's information theory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|