This discussion is closed.
CHLUNI
Badges: 0
#1
Report Thread starter 15 years ago
#1
This is the Formula, Shannon's diversity index H= −∑ (ρilnρi)

I have worked out the (ρilnρi) part of the formula I just dont know what the −∑ symbols are asking me to do to the formula now, does anyone know please?

(by the way the answer from the (pilnpi) section is a negative figure)


Sorry for this post, its just im terrible at maths and would appreciate any replies , thanks !

Luke
0
CHLUNI
Badges: 0
#2
Report Thread starter 15 years ago
#2
anyone ? :dong:
0
RichE
Badges: 15
Rep:
?
#3
Report 15 years ago
#3
(Original post by CHLUNI)
This is the Formula, Shannon's diversity index H= −∑ (ρilnρi)

I have worked out the (ρilnρi) part of the formula I just dont know what the −∑ symbols are asking me to do to the formula now, does anyone know please?

(by the way the answer from the (pilnpi) section is a negative figure)


Sorry for this post, its just im terrible at maths and would appreciate any replies , thanks !

Luke
The sigma part just refers to summing the various pilnpi associated with each event. As you say these will give you a negative value when all summed, and then take the negative of the sum to find the diversity (or uncertainty, as I learnt it).
0
CHLUNI
Badges: 0
#4
Report Thread starter 15 years ago
#4
So how do you take the negative of the sum ?

By doing minus 1 of the answer to turn it into a postive ?

( sorry for sounding like a complete smack tard but I'm soooooooooo bad at maths )
0
RichE
Badges: 15
Rep:
?
#5
Report 15 years ago
#5
(Original post by CHLUNI)
So how do you take the negative of the sum ?

By doing minus 1 of the answer to turn it into a postive ?

( sorry for sounding like a complete smack tard but I'm soooooooooo bad at maths )
Yes, just add them all up and then take minus your answer.

Or equivalently, sum -(pi ln pi) for each i; that way you'd be summing positive numbers from the off.
0
CHLUNI
Badges: 0
#6
Report Thread starter 15 years ago
#6
so -(-myanswer) ........ right ?
0
X
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

How do you feel about your grades? Are they...

What I expected (162)
24.77%
Better than expected (132)
20.18%
Worse than expected (360)
55.05%

Watched Threads

View All
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise