<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Article: Node centrality in weighted networks: Generalizing degree and shortest paths</title>
	<atom:link href="http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/feed/" rel="self" type="application/rss+xml" />
	<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/</link>
	<description>bouncing ideas</description>
	<lastBuildDate>Tue, 24 Jan 2012 16:14:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-2141</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Mon, 01 Aug 2011 16:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-2141</guid>
		<description><![CDATA[Hi Nicola,

Thanks for your data and code.

It seems that you are getting the warnings because you have disconnected components. All the components are fully connected except for the ones with node 31 and 42. In these two components, the two nodes sits between others, and hence gets a betweenness score when the alpha is set to 0. 

Hope this helps,
Tore]]></description>
		<content:encoded><![CDATA[<p>Hi Nicola,</p>
<p>Thanks for your data and code.</p>
<p>It seems that you are getting the warnings because you have disconnected components. All the components are fully connected except for the ones with node 31 and 42. In these two components, the two nodes sits between others, and hence gets a betweenness score when the alpha is set to 0. </p>
<p>Hope this helps,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-2140</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Sun, 31 Jul 2011 20:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-2140</guid>
		<description><![CDATA[Hi Nicola, 

Thanks for using tnet. Could you send me a copy of your data and code that you are using?

Best,
Tore]]></description>
		<content:encoded><![CDATA[<p>Hi Nicola, </p>
<p>Thanks for using tnet. Could you send me a copy of your data and code that you are using?</p>
<p>Best,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicola</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-2139</link>
		<dc:creator><![CDATA[Nicola]]></dc:creator>
		<pubDate>Sun, 31 Jul 2011 11:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-2139</guid>
		<description><![CDATA[Hi Tore,

I was wondering if you could help me with an error message that i&#039;m getting? I&#039;m doing some simple analysis with a weighted network and have calculated degree and closeness values fine, but the betweenness_w function is throwing up an error message:

&gt; warnings()
Warning messages:
1: In get.shortest.paths(g, from = i, to = V(g)[V(g) &gt; i]) :
  At structural_properties.c:4277 :Couldn&#039;t reach some vertices

I&#039;m using the same edgelist for this as for the degree and closeness values that worked fine.

Thanks for any help that you can give me!

Nicola]]></description>
		<content:encoded><![CDATA[<p>Hi Tore,</p>
<p>I was wondering if you could help me with an error message that i&#8217;m getting? I&#8217;m doing some simple analysis with a weighted network and have calculated degree and closeness values fine, but the betweenness_w function is throwing up an error message:</p>
<p>&gt; warnings()<br />
Warning messages:<br />
1: In get.shortest.paths(g, from = i, to = V(g)[V(g) &gt; i]) :<br />
  At structural_properties.c:4277 :Couldn&#8217;t reach some vertices</p>
<p>I&#8217;m using the same edgelist for this as for the degree and closeness values that worked fine.</p>
<p>Thanks for any help that you can give me!</p>
<p>Nicola</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1633</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Wed, 18 May 2011 21:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1633</guid>
		<description><![CDATA[Nicola,

The above code should work for other cases; however, you should change the line starting with &quot;reg &lt;- lm(&quot; to a regression function that suits your dependent variable.

Let me know if you have any issues,
Tore]]></description>
		<content:encoded><![CDATA[<p>Nicola,</p>
<p>The above code should work for other cases; however, you should change the line starting with &#8220;reg &lt;- lm(&quot; to a regression function that suits your dependent variable.</p>
<p>Let me know if you have any issues,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1632</link>
		<dc:creator><![CDATA[Victor]]></dc:creator>
		<pubDate>Wed, 18 May 2011 20:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1632</guid>
		<description><![CDATA[Thanks! Tore.

You are the best!]]></description>
		<content:encoded><![CDATA[<p>Thanks! Tore.</p>
<p>You are the best!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicola</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1630</link>
		<dc:creator><![CDATA[Nicola]]></dc:creator>
		<pubDate>Wed, 18 May 2011 11:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1630</guid>
		<description><![CDATA[Hi Tore,

I read this post with interest ... would the same work if the dependent variable was a factorial measure? In my case it would be animal disease status as the dependent variable - either positive or negative, and seeing which value of alpha was most appropriate to infer whether the number of animals you are connected to (an alpha value closer to 0) or the weighting - the amount of time that you spend in contact with those animals (an alpha value closer to 1) was more important in terms of predicting whether individuals would be infected or not? 

Thanks for your help,

Nicola]]></description>
		<content:encoded><![CDATA[<p>Hi Tore,</p>
<p>I read this post with interest &#8230; would the same work if the dependent variable was a factorial measure? In my case it would be animal disease status as the dependent variable &#8211; either positive or negative, and seeing which value of alpha was most appropriate to infer whether the number of animals you are connected to (an alpha value closer to 0) or the weighting &#8211; the amount of time that you spend in contact with those animals (an alpha value closer to 1) was more important in terms of predicting whether individuals would be infected or not? </p>
<p>Thanks for your help,</p>
<p>Nicola</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1629</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Wed, 18 May 2011 11:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1629</guid>
		<description><![CDATA[Hi Victor,

Your data sounds ideal for finding the &quot;optimal&quot; value of alpha. My understanding of ridge models are limited, but here is a suggestion of how it can be done using OLS. &lt;strong&gt;Note that the example data is not ideal as there are only 32 observations, the dependent variable is not normally distributed, and there are no control variables etc, but it shows how it can be implemented.&lt;/strong&gt;

[sourcecode language=&quot;text&quot;]# Load tnet and data
library(tnet)
data(Freemans.EIES)

# Define output data frame
out &lt;- data.frame(alpha=seq(from=0, to=2, by=0.1), y=NaN)

# Get independent variables
for(i in 1:nrow(out)) {
  # Compute centrality measure
  tmp &lt;- degree_w(net=Freemans.EIES.net.3.n32, measure=&quot;alpha&quot;, alpha=out[i,&quot;alpha&quot;])
  # Extract just centrality scores
  tmp &lt;- tmp[,&quot;alpha&quot;]
  # Regress (add control variables etc)
  reg &lt;- lm(Freemans.EIES.node.Citations.n32 ~ tmp)
  # Instead of a nice way of doing it: Extract the t-statistic
  tmp &lt;- eval(parse(text=as.character(summary(reg))[4]))
  tmp &lt;- matrix(data=tmp, nrow=(length(tmp)/4), ncol=4)
  tmp &lt;- abs(tmp[nrow(tmp),3])
  out[i,&quot;y&quot;] &lt;- tmp
}
# Plot alpha values and the corresponding significance obtained
plot(out, type=&quot;b&quot;, ylab=&quot;Significance of centrality measure&quot;)
[/sourcecode]

The last command produces the following plot, which suggests that for this &lt;strong&gt;limited&lt;/strong&gt; data, the optimal point is close to 0. &lt;strong&gt;Please do not base any conclusions on this data due to the limitations listed above.&lt;/strong&gt;

&lt;img src=&quot;http://toreopsahl.files.wordpress.com/2011/05/regressionplot.png&quot; alt=&quot;Regression Plot&quot;&gt;

Hope this helps,
Tore]]></description>
		<content:encoded><![CDATA[<p>Hi Victor,</p>
<p>Your data sounds ideal for finding the &#8220;optimal&#8221; value of alpha. My understanding of ridge models are limited, but here is a suggestion of how it can be done using OLS. <strong>Note that the example data is not ideal as there are only 32 observations, the dependent variable is not normally distributed, and there are no control variables etc, but it shows how it can be implemented.</strong></p>
<pre class="brush: plain;"># Load tnet and data
library(tnet)
data(Freemans.EIES)

# Define output data frame
out &lt;- data.frame(alpha=seq(from=0, to=2, by=0.1), y=NaN)

# Get independent variables
for(i in 1:nrow(out)) {
  # Compute centrality measure
  tmp &lt;- degree_w(net=Freemans.EIES.net.3.n32, measure=&quot;alpha&quot;, alpha=out[i,&quot;alpha&quot;])
  # Extract just centrality scores
  tmp &lt;- tmp[,&quot;alpha&quot;]
  # Regress (add control variables etc)
  reg &lt;- lm(Freemans.EIES.node.Citations.n32 ~ tmp)
  # Instead of a nice way of doing it: Extract the t-statistic
  tmp &lt;- eval(parse(text=as.character(summary(reg))[4]))
  tmp &lt;- matrix(data=tmp, nrow=(length(tmp)/4), ncol=4)
  tmp &lt;- abs(tmp[nrow(tmp),3])
  out[i,&quot;y&quot;] &lt;- tmp
}
# Plot alpha values and the corresponding significance obtained
plot(out, type=&quot;b&quot;, ylab=&quot;Significance of centrality measure&quot;)
</pre>
<p>The last command produces the following plot, which suggests that for this <strong>limited</strong> data, the optimal point is close to 0. <strong>Please do not base any conclusions on this data due to the limitations listed above.</strong></p>
<p><img src="http://toreopsahl.files.wordpress.com/2011/05/regressionplot.png" alt="Regression Plot"/></p>
<p>Hope this helps,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1627</link>
		<dc:creator><![CDATA[Victor]]></dc:creator>
		<pubDate>Tue, 17 May 2011 23:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1627</guid>
		<description><![CDATA[Hi Tore,

I have a question again, 

I want to study how alpha value helps predict a continuous variable. 

My database capture a communication network and I want to find what value of alpha helps to explain a continuous variable (for example, to predict the number of words used by each node using weighted out degree). Ridge-regression method can be a good choice ? 

Sincerely, Victor]]></description>
		<content:encoded><![CDATA[<p>Hi Tore,</p>
<p>I have a question again, </p>
<p>I want to study how alpha value helps predict a continuous variable. </p>
<p>My database capture a communication network and I want to find what value of alpha helps to explain a continuous variable (for example, to predict the number of words used by each node using weighted out degree). Ridge-regression method can be a good choice ? </p>
<p>Sincerely, Victor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1590</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Tue, 10 May 2011 12:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1590</guid>
		<description><![CDATA[Nicola,

The values are:&lt;br&gt;-degree: number of ties&lt;br&gt;-output: sum of tie weights (aka node strength)&lt;br&gt;-alpha: the second generation weighted measure that combines degree and output, see the paper.

You can also find this by typing ?degree_w in R.

Best,
Tore]]></description>
		<content:encoded><![CDATA[<p>Nicola,</p>
<p>The values are:<br />-degree: number of ties<br />-output: sum of tie weights (aka node strength)<br />-alpha: the second generation weighted measure that combines degree and output, see the paper.</p>
<p>You can also find this by typing ?degree_w in R.</p>
<p>Best,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicola</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1588</link>
		<dc:creator><![CDATA[Nicola]]></dc:creator>
		<pubDate>Tue, 10 May 2011 10:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1588</guid>
		<description><![CDATA[To Tore,

Forgive me if this is an ignorant question, but I was just wondering what exactly the values in the output meant in terms of the values given for &quot;degree&quot;, &quot;output&quot; and &quot;alpha&quot;?

Thanks for your help.]]></description>
		<content:encoded><![CDATA[<p>To Tore,</p>
<p>Forgive me if this is an ignorant question, but I was just wondering what exactly the values in the output meant in terms of the values given for &#8220;degree&#8221;, &#8220;output&#8221; and &#8220;alpha&#8221;?</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1328</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Sat, 19 Mar 2011 16:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1328</guid>
		<description><![CDATA[Hi Victor,

The degree_w-function uses the outgoing ties by default. To calculate the measures for the incoming ties, you should define type=&quot;in&quot;.

[sourcecode language=&quot;text&quot;]
degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5, type=&quot;in&quot;)
[/sourcecode]

For an undirected network, the type parameter is irrelevant as the outbound and incoming ties are identical. For example:

[sourcecode language=&quot;text&quot;]
&gt; # Load tnet
&gt; library(tnet)

&gt; # Load network
&gt; net &lt;- cbind(
&gt; i=c(1,1,2,2,2,2,3,3,4,5,5,6),
&gt; j=c(2,3,1,3,4,5,1,2,2,2,6,5),
&gt; w=c(4,2,4,4,1,2,2,4,1,2,1,1))
&gt; 
&gt; # Calculate degree centrality
&gt; degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5)
     node degree output    alpha
[1,]    1      2      6 3.464102
[2,]    2      4     11 6.633250
[3,]    3      2      6 3.464102
[4,]    4      1      1 1.000000
[5,]    5      2      3 2.449490
[6,]    6      1      1 1.000000
&gt; 
&gt; degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5, type=&quot;in&quot;)
     node degree output    alpha
[1,]    1      2      6 3.464102
[2,]    2      4     11 6.633250
[3,]    3      2      6 3.464102
[4,]    4      1      1 1.000000
[5,]    5      2      3 2.449490
[6,]    6      1      1 1.000000
[/sourcecode]

Best, 
Tore]]></description>
		<content:encoded><![CDATA[<p>Hi Victor,</p>
<p>The degree_w-function uses the outgoing ties by default. To calculate the measures for the incoming ties, you should define type=&#8221;in&#8221;.</p>
<pre class="brush: plain;">
degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5, type=&quot;in&quot;)
</pre>
<p>For an undirected network, the type parameter is irrelevant as the outbound and incoming ties are identical. For example:</p>
<pre class="brush: plain;">
&gt; # Load tnet
&gt; library(tnet)

&gt; # Load network
&gt; net &lt;- cbind(
&gt; i=c(1,1,2,2,2,2,3,3,4,5,5,6),
&gt; j=c(2,3,1,3,4,5,1,2,2,2,6,5),
&gt; w=c(4,2,4,4,1,2,2,4,1,2,1,1))
&gt;
&gt; # Calculate degree centrality
&gt; degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5)
     node degree output    alpha
[1,]    1      2      6 3.464102
[2,]    2      4     11 6.633250
[3,]    3      2      6 3.464102
[4,]    4      1      1 1.000000
[5,]    5      2      3 2.449490
[6,]    6      1      1 1.000000
&gt;
&gt; degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5, type=&quot;in&quot;)
     node degree output    alpha
[1,]    1      2      6 3.464102
[2,]    2      4     11 6.633250
[3,]    3      2      6 3.464102
[4,]    4      1      1 1.000000
[5,]    5      2      3 2.449490
[6,]    6      1      1 1.000000
</pre>
<p>Best,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1327</link>
		<dc:creator><![CDATA[Victor]]></dc:creator>
		<pubDate>Sat, 19 Mar 2011 14:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1327</guid>
		<description><![CDATA[Hi Tore,

I want to calculate degree_w. I know that for out degree  I need to write..

[sourcecode language=&quot;text&quot;]
degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5)
[/sourcecode]

But, I dont know how to write the instruction for calculate in degree. 

[sourcecode language=&quot;text&quot;]
degree_w(net, measure=c(&quot;degree&quot;, &quot;in&quot;, &quot;alpha&quot;), alpha=0.5). 
[/sourcecode]

It&#039;s correct or not the second one.

May I have your help.

Have a good day, 

Sincerely, Victor]]></description>
		<content:encoded><![CDATA[<p>Hi Tore,</p>
<p>I want to calculate degree_w. I know that for out degree  I need to write..</p>
<pre class="brush: plain;">
degree_w(net, measure=c(&quot;degree&quot;, &quot;output&quot;, &quot;alpha&quot;), alpha=0.5)
</pre>
<p>But, I dont know how to write the instruction for calculate in degree. </p>
<pre class="brush: plain;">
degree_w(net, measure=c(&quot;degree&quot;, &quot;in&quot;, &quot;alpha&quot;), alpha=0.5).
</pre>
<p>It&#8217;s correct or not the second one.</p>
<p>May I have your help.</p>
<p>Have a good day, </p>
<p>Sincerely, Victor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xingqin</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1323</link>
		<dc:creator><![CDATA[xingqin]]></dc:creator>
		<pubDate>Wed, 16 Mar 2011 02:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1323</guid>
		<description><![CDATA[Hi, Tore, Thanks for your hard work, it is easy to use your code now, just simply add \alpha. One question, do you know are there any other centrality methods handing weighted networks yet? Eigenvector is also a centrality method, but it is dealing with unweighted graphs, Does the same idea work for weighted ones?
Thanks a lot.

xingqin]]></description>
		<content:encoded><![CDATA[<p>Hi, Tore, Thanks for your hard work, it is easy to use your code now, just simply add \alpha. One question, do you know are there any other centrality methods handing weighted networks yet? Eigenvector is also a centrality method, but it is dealing with unweighted graphs, Does the same idea work for weighted ones?<br />
Thanks a lot.</p>
<p>xingqin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1278</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Sun, 30 Jan 2011 15:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1278</guid>
		<description><![CDATA[Kirsten,

I am uncertain what you are referring to when you are using inverse weights in the degree_w-function, and also what closeness() is. Please send me an email with the commands and data you are using.

Best,
Tore]]></description>
		<content:encoded><![CDATA[<p>Kirsten,</p>
<p>I am uncertain what you are referring to when you are using inverse weights in the degree_w-function, and also what closeness() is. Please send me an email with the commands and data you are using.</p>
<p>Best,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rainbow Socks</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1277</link>
		<dc:creator><![CDATA[Rainbow Socks]]></dc:creator>
		<pubDate>Sat, 29 Jan 2011 09:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1277</guid>
		<description><![CDATA[Hi again Tore,

Sorry for &#039;spamming&#039;, I forgot to ask another question that puzzels me: I am using closeness_w, but if I dont use weights (set them all to 1, just to check), I do not get the same result for node closeness as when using closeness() in an unweighted network. Why is this? Am I doing something wrong?

Kirsten]]></description>
		<content:encoded><![CDATA[<p>Hi again Tore,</p>
<p>Sorry for &#8216;spamming&#8217;, I forgot to ask another question that puzzels me: I am using closeness_w, but if I dont use weights (set them all to 1, just to check), I do not get the same result for node closeness as when using closeness() in an unweighted network. Why is this? Am I doing something wrong?</p>
<p>Kirsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rainbow Socks</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1276</link>
		<dc:creator><![CDATA[Rainbow Socks]]></dc:creator>
		<pubDate>Sat, 29 Jan 2011 09:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1276</guid>
		<description><![CDATA[That helps, thanks.

One more quesiton... concerning degree_w, is there a way to calculate the degree_w per node using the inverse weights with tnet?

Best,
Kirsten]]></description>
		<content:encoded><![CDATA[<p>That helps, thanks.</p>
<p>One more quesiton&#8230; concerning degree_w, is there a way to calculate the degree_w per node using the inverse weights with tnet?</p>
<p>Best,<br />
Kirsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1275</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Sat, 29 Jan 2011 00:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1275</guid>
		<description><![CDATA[Kirsten,

All the clustering_w-function is the global clustering coefficient, while the clustering_w_local-function is the local clustering coefficient that produces a score for each node (see Barrat et al., 2004). These functions are just different aggregations of the triplets in the network with the global one aggregating all triplets and the local one being an intermediate step. 

The measure-parameter (&quot;am&quot; &quot;gm&quot; &quot;ma&quot; &quot;mi&quot; &quot;bi&quot;) controls how triplets are valued. This could, for example, be the regular mean (arithmetic mean; &quot;am&quot;) of the two tie weighs that make up the triplet, or the geometric mean (&quot;gm&quot;). The main difference between these two is that the geometric mean discounts the tie weight if there is variation (e.g., tie weights of 2 and 2 would be am=2 and gm=2, and tie weights 3 and 1 would be am=2 and gm=sqrt(3)~1.73.

Hope this helps,
Tore]]></description>
		<content:encoded><![CDATA[<p>Kirsten,</p>
<p>All the clustering_w-function is the global clustering coefficient, while the clustering_w_local-function is the local clustering coefficient that produces a score for each node (see Barrat et al., 2004). These functions are just different aggregations of the triplets in the network with the global one aggregating all triplets and the local one being an intermediate step. </p>
<p>The measure-parameter (&#8220;am&#8221; &#8220;gm&#8221; &#8220;ma&#8221; &#8220;mi&#8221; &#8220;bi&#8221;) controls how triplets are valued. This could, for example, be the regular mean (arithmetic mean; &#8220;am&#8221;) of the two tie weighs that make up the triplet, or the geometric mean (&#8220;gm&#8221;). The main difference between these two is that the geometric mean discounts the tie weight if there is variation (e.g., tie weights of 2 and 2 would be am=2 and gm=2, and tie weights 3 and 1 would be am=2 and gm=sqrt(3)~1.73.</p>
<p>Hope this helps,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rainbow Socks</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1274</link>
		<dc:creator><![CDATA[Rainbow Socks]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 21:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1274</guid>
		<description><![CDATA[Hi Tore,

Thank you for the quick response. I will have to think about this... :)
Just to make sure that I get your other function right, - the clustering_w &quot;gm&quot; would be a transitivity measure for the overall weighted graph, right?

Best,
Kirsten]]></description>
		<content:encoded><![CDATA[<p>Hi Tore,</p>
<p>Thank you for the quick response. I will have to think about this&#8230; :)<br />
Just to make sure that I get your other function right, &#8211; the clustering_w &#8220;gm&#8221; would be a transitivity measure for the overall weighted graph, right?</p>
<p>Best,<br />
Kirsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1273</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1273</guid>
		<description><![CDATA[Hi Kirsten,

Thank you for using the site and tnet!

Normalisation of node centrality scores is, to my opinion, adding a bias to the data instead of removing one. In fact, I have stayed clear of standardising the measures due to what I believe was misleading in the original measures, let alone generalised ones. My main concern with the original ways of standardising/normalising node centrality measures (i.e., n-1) is that these scale linearly with the number of nodes. Specifically, I believe that none of the main three node centrality measures scales linearly. First, it has been argued that the average degree in networks does not change as a network grows. Hence, no scaling (i.e., use the average degree to compare networks). Second, closeness centrality is based on shortest distances. In small world networks, shortest distances does not scale linearly with the number of nodes, but rather logarithmically (i.e., divide farness scores by log(N) if your network is a &quot;small world&quot;). Third, betweenness is based on n*(n-1) shortest paths, so it could be argued that it scales n-squared. Given these issues with the original measures, I have not given much thought/effort to normalise the generalised ones. Let me know if you figure out a way of doing it!

Best,
Tore]]></description>
		<content:encoded><![CDATA[<p>Hi Kirsten,</p>
<p>Thank you for using the site and tnet!</p>
<p>Normalisation of node centrality scores is, to my opinion, adding a bias to the data instead of removing one. In fact, I have stayed clear of standardising the measures due to what I believe was misleading in the original measures, let alone generalised ones. My main concern with the original ways of standardising/normalising node centrality measures (i.e., n-1) is that these scale linearly with the number of nodes. Specifically, I believe that none of the main three node centrality measures scales linearly. First, it has been argued that the average degree in networks does not change as a network grows. Hence, no scaling (i.e., use the average degree to compare networks). Second, closeness centrality is based on shortest distances. In small world networks, shortest distances does not scale linearly with the number of nodes, but rather logarithmically (i.e., divide farness scores by log(N) if your network is a &#8220;small world&#8221;). Third, betweenness is based on n*(n-1) shortest paths, so it could be argued that it scales n-squared. Given these issues with the original measures, I have not given much thought/effort to normalise the generalised ones. Let me know if you figure out a way of doing it!</p>
<p>Best,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rainbow Socks</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1271</link>
		<dc:creator><![CDATA[Rainbow Socks]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 13:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1271</guid>
		<description><![CDATA[Hi Tore,

Great site, and great software :)
One question regarding degree_w and closeness_w. The output I get is an array, however I am interested in the overall degree(strength) centralization of the weighted network, not for each individual node. Is there a way to do this with tnet?

Best,
Kirsten]]></description>
		<content:encoded><![CDATA[<p>Hi Tore,</p>
<p>Great site, and great software :)<br />
One question regarding degree_w and closeness_w. The output I get is an array, however I am interested in the overall degree(strength) centralization of the weighted network, not for each individual node. Is there a way to do this with tnet?</p>
<p>Best,<br />
Kirsten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viktor</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1169</link>
		<dc:creator><![CDATA[Viktor]]></dc:creator>
		<pubDate>Sat, 09 Oct 2010 16:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1169</guid>
		<description><![CDATA[Hi Tore!

Thanks. When I have the analysis, I will contact you again. Maybe, I made a good discovery with your idex. Let me try!!!

Sincerelly,

Vicktor]]></description>
		<content:encoded><![CDATA[<p>Hi Tore!</p>
<p>Thanks. When I have the analysis, I will contact you again. Maybe, I made a good discovery with your idex. Let me try!!!</p>
<p>Sincerelly,</p>
<p>Vicktor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1168</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Fri, 08 Oct 2010 00:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1168</guid>
		<description><![CDATA[Victor,

Thank you for taking an interest in my work, and reading the future research section carefully!

The &quot;optimal&quot; (read: what high performers have)-level of the centrality measures could be probed by using a performance variable as the dependent variable and a centrality variable as an independent variable along with controls. If you ran multiple regressions each with a different alpha for the centrality parameter (e.g., 0, 0.1, 0.2, 0.3 etc), then if you could plot the attained z-scores of the centrality variable (y-axis) against the alpha (x-axis). This should give you an inverse u-shaped curve. The optimal-level is where the maxium z-score is attained.

Hope this helps, 

Tore]]></description>
		<content:encoded><![CDATA[<p>Victor,</p>
<p>Thank you for taking an interest in my work, and reading the future research section carefully!</p>
<p>The &#8220;optimal&#8221; (read: what high performers have)-level of the centrality measures could be probed by using a performance variable as the dependent variable and a centrality variable as an independent variable along with controls. If you ran multiple regressions each with a different alpha for the centrality parameter (e.g., 0, 0.1, 0.2, 0.3 etc), then if you could plot the attained z-scores of the centrality variable (y-axis) against the alpha (x-axis). This should give you an inverse u-shaped curve. The optimal-level is where the maxium z-score is attained.</p>
<p>Hope this helps, </p>
<p>Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vícktor</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1167</link>
		<dc:creator><![CDATA[Vícktor]]></dc:creator>
		<pubDate>Thu, 07 Oct 2010 19:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1167</guid>
		<description><![CDATA[Hello,

Hi,

I have a doubt. In his article states that could make a regression analysis to find an optimal level of alpha. For example, if I have a binary variable to explain, how you might proceed in the analysis?. You could provide guidance for compare different and found and optimal alpha. I use SPSS for analysis.

Thanks!

Victor Hugo]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Hi,</p>
<p>I have a doubt. In his article states that could make a regression analysis to find an optimal level of alpha. For example, if I have a binary variable to explain, how you might proceed in the analysis?. You could provide guidance for compare different and found and optimal alpha. I use SPSS for analysis.</p>
<p>Thanks!</p>
<p>Victor Hugo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tore Opsahl</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1152</link>
		<dc:creator><![CDATA[Tore Opsahl]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 19:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1152</guid>
		<description><![CDATA[Hi MJ,

I am not aware of any general literature on this topic. You could have a look at the Fernandez and Gould-paper that does something similar with brokerage measures. They define - based on directionality, which your data should have - various roles based on ego networks. 

Best,
Tore]]></description>
		<content:encoded><![CDATA[<p>Hi MJ,</p>
<p>I am not aware of any general literature on this topic. You could have a look at the Fernandez and Gould-paper that does something similar with brokerage measures. They define &#8211; based on directionality, which your data should have &#8211; various roles based on ego networks. </p>
<p>Best,<br />
Tore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: minjung</title>
		<link>http://toreopsahl.com/2010/04/21/article-node-centrality-in-weighted-networks-generalizing-degree-and-shortest-paths/#comment-1151</link>
		<dc:creator><![CDATA[minjung]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 12:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://toreopsahl.com/?p=2204#comment-1151</guid>
		<description><![CDATA[Hi tore!
Thanks for sharing ur great works. It&#039;s really helpful for me to understand
the concepts about centrality.
I just wondering u can give me some advice.
Im working on a project that analyzing the customers of mobile company and doing SNS.  That is, i have to find the community among the customers and define the leader, who is influential to other customers. 
So i detect the community(cluster) and i got the degree centrality, closeness centrality, between centrality of each nodes within a cluster. 
And NOW, i have to assign roles to each node; leader, sub-leader,follower and outliers. 

Do u think i can just assign roles based on three centrality? for example, 
make the one with big centralites as a leader. Centrality can be the measure of influence within the community? 


Thanks in advance,
MJ]]></description>
		<content:encoded><![CDATA[<p>Hi tore!<br />
Thanks for sharing ur great works. It&#8217;s really helpful for me to understand<br />
the concepts about centrality.<br />
I just wondering u can give me some advice.<br />
Im working on a project that analyzing the customers of mobile company and doing SNS.  That is, i have to find the community among the customers and define the leader, who is influential to other customers.<br />
So i detect the community(cluster) and i got the degree centrality, closeness centrality, between centrality of each nodes within a cluster.<br />
And NOW, i have to assign roles to each node; leader, sub-leader,follower and outliers. </p>
<p>Do u think i can just assign roles based on three centrality? for example,<br />
make the one with big centralites as a leader. Centrality can be the measure of influence within the community? </p>
<p>Thanks in advance,<br />
MJ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

