# Help needed with this formula

Watch
Announcements
This discussion is closed.
#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
#2
anyone ? 0
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
#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
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 ) Or equivalently, sum -(pi ln pi) for each i; that way you'd be summing positive numbers from the off.
0
#6
0
X
new posts Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

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

### Poll

Join the discussion

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