Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Are centrality measures normalised in Mathematica 9? Only ClosenessCentrality is normalised. How I can normalise other centrality measures notably DegreeCentrality and BetweennessCentrality?

g = GridGraph[{5, 5}];
ClosenessCentrality[g] // Short
BetweennessCentrality[g] // Short
DegreeCentrality[g] // Short

{0.24,0.282353,0.3,0.282353,0.24,0.282353<14>>,0.24,0.282353,0.3,0.282353,0.24} {2.6881,17.2071,21.5429,17.2071,<<18>>,21.5429,17.2071,2.6881} {2,3,3,3,2,3,4,4,4,3,3,4,4,4,3,3,4,4,4,3,2,3,3,3,2}

share|improve this question
Please give a minimal example of Graph, of DegreeCentrality and the desired output. –  Öskå Jun 9 at 18:43
OK @Öskå I give the example of tutorial –  Dural Akata Jun 9 at 18:48
How about using Normalize? Or Rescale? –  Öskå Jun 9 at 19:26
@DuralAkata Öskå asked you to explain what output you want (desired output), not to post the output that Mathematica produces. In particular, explain what you mean by "normalization" in this context. What you might assume to be a generally known meaning of this term may not actually be standard outside of your field. –  Szabolcs Jun 9 at 19:26
In fact in literature we can calculate unnormalised centralities indicators and we can calculate these normalised centralities indicators vary between 0 and 1 and I think in mathematica just ClosenessCentrality is normalised because vary between 0 and 1 –  Dural Akata Jun 9 at 23:37
show 1 more comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.