Thank you very much for the explanation! This makes sense!

Sandra

]]>I was referring to the sample graphs in the figures above. Specifically, the weighted two-mode network (fourth figure on this page) and the corresponding weighted one-mode network using the sum-method (fifth figure on this page).

For your dataset, primary nodes 1 and 2 share the following secondary nodes: 9, 15, 17, 18, 20, and 38. The sum of node 1’s ties with these common nodes is 37 (5+7+21+1+2+1), and the sum of node 2’s tie with the common nodes is 38 (1+3+26+4+3+1). As such, the projection-function using the sum-method creates two ties between nodes 1 and 2:

i j w

1 2 37

2 1 38

Hope this further clarifies what the function does.

Best,

Tore

Thank you so much for your fast response! The data above was the one-dimension projection. Below is the original weighted two-mode bipartite network where i represents frugivore species, j fruit species, and w frequencies of interaction (number of individuals of species i consuming fruit j).

In the one-dimension projection of frugivores I would expect symmetrical weights because frugivores are indirectly connected by the fruit they share irrespective of direction. For example in the projection (using SUM method) I got: species1-species2 = 37, species2- species1 = 38. I’m I misinterpreting something? Thanks again!

Original bipartite network:

*Edges

i j w

1 7 3

1 9 5

1 15 7

1 16 1

1 17 21

1 18 1

1 19 2

1 20 2

1 21 4

1 24 1

1 25 3

1 28 3

1 30 1

1 37 12

1 38 1

2 6 8

2 9 1

2 10 4

2 15 3

2 17 26

2 18 4

2 20 3

2 29 1

2 33 4

2 38 1

2 41 2

3 34 1

3 38 1

4 6 13

4 7 21

4 8 14

4 9 15

4 10 24

4 11 2

4 12 2

4 13 8

4 14 14

4 15 41

4 16 28

4 17 33

4 18 11

4 19 1

4 20 19

4 21 22

4 22 2

4 23 2

4 24 17

4 25 11

4 26 1

4 28 1

4 30 2

4 31 1

4 32 3

4 34 1

4 35 1

4 36 2

4 38 1

4 39 2

4 40 1

4 42 3

4 43 1

4 44 4

5 7 32

5 8 19

5 9 11

5 10 13

5 12 1

5 13 9

5 14 3

5 15 21

5 16 1

5 17 5

5 18 14

5 20 43

5 21 18

5 22 5

5 23 14

5 24 33

5 25 7

5 26 1

5 27 2

5 28 6

5 29 2

5 30 23

5 31 1

5 35 3

5 36 2

5 37 2

5 38 1

5 40 1

5 43 1

5 44 1

One dimension projection (SUM method from t-net):

1 2 37

1 3 1

1 4 55

1 5 65

2 1 38

2 3 1

2 4 50

2 5 43

3 1 1

3 2 1

3 4 2

3 5 1

4 1 223

4 2 157

4 3 2

4 5 299

5 1 217

5 2 110

5 3 1

5 4 289

The method creates a two ties — one in each direction — between primary nodes that a secondary node; however, the tie weights are not guaranteed to be symmetric. In the weighted two-mode network example above, node A has a total tie weight of 6 towards nodes shared with node B; however, node B only have a total tie weight of 3 with common nodes.

Hope this helps,

Tore

I am doing a one-mode projection of a weighted biparite network. I noticed that in the projection, the weights for 1-2 are different than from 2-1 and so on (see below), even though my network is not directional.

I am using the command: projecting_tm(mynet, method=”sum”). I tried adding directed=NULL but I get an “unused argument” error. Is there a way to specify that the network is undirected?

i j w

1 1 2 37

2 1 3 1

3 1 4 52

4 1 5 62

5 2 1 38

6 2 3 1

7 2 4 50

8 2 5 43

9 3 1 1

10 3 2 1

11 3 4 2

12 3 5 1

13 4 1 202

14 4 2 157

15 4 3 2

16 4 5 299

17 5 1 185

18 5 2 110

19 5 3 1

20 5 4 289

Thanks in advance!!!

]]>I’m glad you’re finding the site useful.

1) To calculated node centrality on a projected two-mode network, you must use the one-mode metrics. See https://toreopsahl.com/tnet/weighted-networks/node-centrality/

2) Two-mode networks (tnet is limited to two-mode networks for multi-mode networks) are generally undirected, or directional in one way only. To the best of my knowledge, there are no general directional two-mode metrics.

Good luck,

Tore

Congrats for your website, I find it very helpful and thanks for sharing your knowledge.

I have two questions, and I would be grateful if you could answer : Can I calculate centrality measures on the projected network?

Also, is it possible, in a multi-mode network for the one set of actors to be directed(and if yes, can I use your package to turn it into a projected network)?

Thanks,

Andy

Thanks for your kind information. Now I got the answer.

Kind regards,

]]>You are simply using the projection_tm-function with method=”Newman” and the network being a weighted two-mode network: see line #8 in the fourth and final code block above.

Tore

]]>Regards,

]]>Hope this helps,

Tore

Hi,

I’m working on two-mode networks. In above post the tnet command for extended weighted network formula is not given.

Only binar,sum and newman is given. Kindly if possible can you please tell me the command for last method.

I’ll remain thankful.

Kind regard,

A.W.Mahesar

]]>Great to see more open science being done! I’m not sure there is a specific theory I can point you too regarding projects as there is so many. For example, two-mode networks with people and events can be projected due to assumed temporal geographical co-location. However, I believe it really depends on your context which theories of connectedness would apply.

Best,

Tore

Great suggestion. It does sound like a good idea as differences in tie weights would discount the tie strength. I haven’t implemented this type of projection method for two-mode networks; however, if you connect with me by email, this code can easily be created.

Best,

Tore

Great blog, this section in particular is my go-to guide to two-mode networks.

I am interesting in using the geometric mean, instead of the sum, to calculate the strength of an interaction between 2 nodes when projecting a 2-mode network onto a one-mode network.

The strength of the interaction between nodes A and B in the above example (leaving out Newman’s correction for now) would be 2 in this case (or 4.24 if you sum the weights directed at nodes they share before taking the geometric mean).

Do you think this is sensible, and can it be done in tnet?

Cheers

David

]]>Glad you found it useful. I am not entirely sure what you are referring to when you mention neighborhood measures. However, if you would like to calculate the number of common nodes between primary nodes in a two-mode network, you can use the projecting_tm(net, method=”sum”). This function will produce pairs of primary nodes (columns 1 and 2) with a third column with the number of common nodes.

Best,

Tore

Thank you for your article. I was looking for something which would be illustrative and precise. And your article is just that. I am currently working on a two mode bipartite network. Do you know how I can use neighborhood measures like Common Neighbors in the bipartite setting? Thanks ]]>

Best

Snehal ]]>

Thanks! I have not directly worked with 3-mode networks, so I haven’t given too much thought. I think this is an exciting area of new research with many unanswered questions. Do you project from 3-mode to two-mode by connecting primary and secondary nodes connected to the same tertiary nodes? What do you do with existing connections between primary and secondary nodes?

Best,

Tore

Great resource particularly for weighted 2-mode networks.

I am working with 3-mode networks and figured that I’ll have to convert (project) it to 2 modes to get some measures. Can you suggest any literature that deals with this conversion? Right now I am just replicating the 2->1 mode procedures. Your comments/suggestions are greatly appreciated.

Thanks!

]]>