How the degree centrality measure changes in the presence of loops?Smallest path in graph theory (network analysis)network centrality: when does the most central node coincide for eigenvalue and degree centrality measuresNumber of undirected bipartite graphs with fixed number of links and maximum degreeProbability of inter-group links in a network with maximum degree 1Deriving the probability of a node (vertex) on the end of a random chosen link (edge) having degree d.Elementary graph theory questions (periodicity and strongly connected components)Vertex connectivity and edge connectivity of this graphPseudo Motif Distributions in Network TheoryStar-like graphs; terminologyAverage degree of a scale-free network.
Count the occurrence of each unique word in the file
Argument list too long when zipping large list of certain files in a folder
Lowest total scrabble score
Why should universal income be universal?
Is it possible to have a strip of cold climate in the middle of a planet?
How do I color the graph in datavisualization?
Store Credit Card Information in Password Manager?
Why is it that I can sometimes guess the next note?
Approximating irrational number to rational number
Should I outline or discovery write my stories?
Creepy dinosaur pc game identification
When were female captains banned from Starfleet?
Can someone explain how this makes sense electrically?
Is it possible to put a rectangle as background in the author section?
What prevents the use of a multi-segment ILS for non-straight approaches?
Calculating Wattage for Resistor in High Frequency Application?
Why did the EU agree to delay the Brexit deadline?
The IT department bottlenecks progress. How should I handle this?
Redundant comparison & "if" before assignment
How to explain what's wrong with this application of the chain rule?
When a Cleric spontaneously casts a Cure Light Wounds spell, will a Pearl of Power recover the original spell or Cure Light Wounds?
why `nmap 192.168.1.97` returns less services than `nmap 127.0.0.1`?
Do Legal Documents Require Signing In Standard Pen Colors?
Is it better practice to read straight from sheet music rather than memorize it?
How the degree centrality measure changes in the presence of loops?
Smallest path in graph theory (network analysis)network centrality: when does the most central node coincide for eigenvalue and degree centrality measuresNumber of undirected bipartite graphs with fixed number of links and maximum degreeProbability of inter-group links in a network with maximum degree 1Deriving the probability of a node (vertex) on the end of a random chosen link (edge) having degree d.Elementary graph theory questions (periodicity and strongly connected components)Vertex connectivity and edge connectivity of this graphPseudo Motif Distributions in Network TheoryStar-like graphs; terminologyAverage degree of a scale-free network.
$begingroup$
I am using R with the igraph package to make some experiment. In particular I am making a star graph. So I build a graph with 5 nodes, 4 of them connected to the central node and nothing else:
library(igraph)
g = make_star(5, mode="undirected")
The above graph obviously contains no loops. Running:
centr_degree(g, loops=F, normalized=F)
Gives the correct result:
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 12
Where $res is the vector of centrality of each node, $centralization is the centralization for the entire graph using Freeman centralization formula, and $theoretical_max is the theoretical maximum centrality of a network (so, again, Freeman centrality) with the same number of nodes and the same configuration.
For degree centrality, the network with the maximum Freeman's degree centrality is the star network that I just built. So, correctly, $centralization == $theoretical_max
But runningcentr_degree(g, loops=T, normalized=T)
Changes the theoretical maximum
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 20
And of course the value if you normalize too:
> centr_degree(g, loops=T, normalized=T)
$`res`
[1] 4 1 1 1 1
$centralization
[1] 0.6
$theoretical_max
[1] 20
Questions:
How does the calculation of the degree centrality for the network changes if you introduce loops? That is, why the theoretical maximum raises?
Is it correct that the normalized version changes, even if my network does not have loops?
graph-theory network
$endgroup$
add a comment |
$begingroup$
I am using R with the igraph package to make some experiment. In particular I am making a star graph. So I build a graph with 5 nodes, 4 of them connected to the central node and nothing else:
library(igraph)
g = make_star(5, mode="undirected")
The above graph obviously contains no loops. Running:
centr_degree(g, loops=F, normalized=F)
Gives the correct result:
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 12
Where $res is the vector of centrality of each node, $centralization is the centralization for the entire graph using Freeman centralization formula, and $theoretical_max is the theoretical maximum centrality of a network (so, again, Freeman centrality) with the same number of nodes and the same configuration.
For degree centrality, the network with the maximum Freeman's degree centrality is the star network that I just built. So, correctly, $centralization == $theoretical_max
But runningcentr_degree(g, loops=T, normalized=T)
Changes the theoretical maximum
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 20
And of course the value if you normalize too:
> centr_degree(g, loops=T, normalized=T)
$`res`
[1] 4 1 1 1 1
$centralization
[1] 0.6
$theoretical_max
[1] 20
Questions:
How does the calculation of the degree centrality for the network changes if you introduce loops? That is, why the theoretical maximum raises?
Is it correct that the normalized version changes, even if my network does not have loops?
graph-theory network
$endgroup$
add a comment |
$begingroup$
I am using R with the igraph package to make some experiment. In particular I am making a star graph. So I build a graph with 5 nodes, 4 of them connected to the central node and nothing else:
library(igraph)
g = make_star(5, mode="undirected")
The above graph obviously contains no loops. Running:
centr_degree(g, loops=F, normalized=F)
Gives the correct result:
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 12
Where $res is the vector of centrality of each node, $centralization is the centralization for the entire graph using Freeman centralization formula, and $theoretical_max is the theoretical maximum centrality of a network (so, again, Freeman centrality) with the same number of nodes and the same configuration.
For degree centrality, the network with the maximum Freeman's degree centrality is the star network that I just built. So, correctly, $centralization == $theoretical_max
But runningcentr_degree(g, loops=T, normalized=T)
Changes the theoretical maximum
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 20
And of course the value if you normalize too:
> centr_degree(g, loops=T, normalized=T)
$`res`
[1] 4 1 1 1 1
$centralization
[1] 0.6
$theoretical_max
[1] 20
Questions:
How does the calculation of the degree centrality for the network changes if you introduce loops? That is, why the theoretical maximum raises?
Is it correct that the normalized version changes, even if my network does not have loops?
graph-theory network
$endgroup$
I am using R with the igraph package to make some experiment. In particular I am making a star graph. So I build a graph with 5 nodes, 4 of them connected to the central node and nothing else:
library(igraph)
g = make_star(5, mode="undirected")
The above graph obviously contains no loops. Running:
centr_degree(g, loops=F, normalized=F)
Gives the correct result:
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 12
Where $res is the vector of centrality of each node, $centralization is the centralization for the entire graph using Freeman centralization formula, and $theoretical_max is the theoretical maximum centrality of a network (so, again, Freeman centrality) with the same number of nodes and the same configuration.
For degree centrality, the network with the maximum Freeman's degree centrality is the star network that I just built. So, correctly, $centralization == $theoretical_max
But runningcentr_degree(g, loops=T, normalized=T)
Changes the theoretical maximum
$`res`
[1] 4 1 1 1 1
$centralization
[1] 12
$theoretical_max
[1] 20
And of course the value if you normalize too:
> centr_degree(g, loops=T, normalized=T)
$`res`
[1] 4 1 1 1 1
$centralization
[1] 0.6
$theoretical_max
[1] 20
Questions:
How does the calculation of the degree centrality for the network changes if you introduce loops? That is, why the theoretical maximum raises?
Is it correct that the normalized version changes, even if my network does not have loops?
graph-theory network
graph-theory network
asked Mar 15 at 18:26
raffamaidenraffamaiden
1156
1156
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3149641%2fhow-the-degree-centrality-measure-changes-in-the-presence-of-loops%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3149641%2fhow-the-degree-centrality-measure-changes-in-the-presence-of-loops%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown