Giter VIP home page Giter VIP logo

complexpaths's Introduction

complexpaths

Guilbeault, D. & D. Centola. 2021. Topological Measures for Identifying and Predicting the Spread of Complex Contagions. Nature Communications.

This repository contains:

  • Raw edgelists of Addhealth topologies (82 adolescent friend networks).
  • The largest connected component extracted from each Addhealth topology.
  • An R script that replicates all of the figures from the manuscript and supplementary material using the raw simulation data generated for this study (data provided below).
  • An R script that (i) calculates complex path length and complex centrality for all nodes in a given graph g (including methods for parallelization), and that (ii) uses these functions to replicate our main results on simulated and empirical graphs (from the Addhealth dataset).

Features in development:

  • A Python code base for reproducing all of the measures defined in Guilbeault & Centola (2021). In the long term, these measures may be released as a package in Python and/or R.

Data:

Any questions regarding this code or data can be sent to douglas.guilbeault[at]haas.berkeley.edu.

complexpaths's People

Contributors

drguilbe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.