#R #Temporal Networks #igraph

Temporal networks with igraph and R (with 20 lines of code!)

**UPDATE**: the version of the R code in this post does not work with newer versions of the igraph package (\> 1.0). I have posted an updated version of this post here: [Temporal networks with R and igraph (updated)](/post/2015-12-21-temporal-networks-with-r-and-igraph-updated/). Please visit the new post to use the new code and follow the discussion there. In my last post about how a twitter conversation unfolds in time on Twitter, the dynamical nature of information diffusion in twitter was illustrated with a video of the temporal network of interactions (RTs) between accounts. The temporal evolution of the network yields to another perspective of social structure and, in some cases, aggregating the data in a time window might blur out important temporal structures on information diffusion, community or opinion formation, etc. Although many of the commercial and free Social Network Analysis software have tools to visualize static networks, there are no so many options out there for dynamical networks. And in some cases they have very limited options for their “dynamical layout”. A notable exception is SoNIA, the Java-based package, which unfortunately is not updated frequently. Another possibility is to work with the Timeline plugin in Gephi. However there is no video recording possibility for the animations. In this post I will show you how to render the network at each time step and how to encode all snapshots into a video file using the igraph package in R and ffmpeg. The idea is very simple ...

Preferential attachment: be first

Preferential attachment is a key process governing the dynamics of many economic, social and biological process. It is the “The rich get richer” mechanism by which a quantity is distributed among individuals according to how much they already have. It also happens in social networks and the ones that have more social connectivity (the “hubs”) receive more new connections than the poorly connected. In a famous paper, Laszlo Barabási and Reka Albert encoded this mechanics in the so called Barabasi-Albert model to generate random scale free-networks. ...

#R #Temporal Networks #igraph #Twitter #Social Networks

Temporal network of information diffusion in Twitter

Millions of tweets, retweets and mentions are exchanged in Twitter everyday about very different subjects, events, opinions, etc. While aggregating this data over a time window might help to understand some properties of those processes in online social networks, the speed of information diffusion around particular time-bound events requires a temporal analysis of them. To show that (and with the help of the Text & Opinion Mining Group at IIC) we collected all tweets (750k) of the vibrant conversation around the disputed subject of the general strike of March 29th in Spain. The data spans 10 days from 03/27 to 04/04 and using the RTs related to the general strike between twitter accounts we build up the following temporal network of information diffusion in Twitter. ...

Algorithms and Management

Yesterday I gave a talk in the 6th IIC Technology Conference about how Social Contagion can be leveraged for marketing purposes. The motto of the conference was about the need of using Algorithms in nowadays business process. With the availability of more and more complex data the use of algorithms that can detect and reduce complexity is of paramount importance. Big data is not only about volume (TeraBytes of data), it is about huge complex data and reducing that complexity can only be achieved by modeling, simulating and analyzing the patterns we observe in the data. There are no black-boxes for Big Data, and only insight and the right approach to tame complexity is proven useful. ...

It was a delicious assignment, infinitely complicated

I have just read an amazing book “Shibumi” by Trevanian (a.k.a. Rodney William Whitaker) probably the best spy novel I have read so far. In the book, a big data computer (called Fat Boy) is operated by a “data scientist” (although is not called that way). I enjoyed very much the following paragraph, an analogy of the emptiness of big data without insight and also a musing about how difficult is to find relationships from activity data (the kind of research we do!) ...